[Scummvm-cvs-logs] SF.net SVN: scummvm:[35322] scummvm/trunk/engines/gob/coktelvideo.cpp
drmccoy at users.sourceforge.net
drmccoy at users.sourceforge.net
Sat Dec 13 03:51:36 CET 2008
Revision: 35322
http://scummvm.svn.sourceforge.net/scummvm/?rev=35322&view=rev
Author: drmccoy
Date: 2008-12-13 02:51:36 +0000 (Sat, 13 Dec 2008)
Log Message:
-----------
Fixing forgetfulness-bug which leads to failed assertions in certain cases
Modified Paths:
--------------
scummvm/trunk/engines/gob/coktelvideo.cpp
Modified: scummvm/trunk/engines/gob/coktelvideo.cpp
===================================================================
--- scummvm/trunk/engines/gob/coktelvideo.cpp 2008-12-13 02:30:45 UTC (rev 35321)
+++ scummvm/trunk/engines/gob/coktelvideo.cpp 2008-12-13 02:51:36 UTC (rev 35322)
@@ -1280,6 +1280,10 @@
_soundStage = 0;
}
+ // If these are still 0x7FFF, no video data has been processed
+ if ((state.left == 0x7FFF) || (state.top == 0x7FFF))
+ state.left = state.top = state.right = state.bottom = 0;
+
_lastFrameTime = g_system->getMillis();
return state;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list