[Scummvm-cvs-logs] SF.net SVN: scummvm:[33410] scummvm/trunk/engines/cine/main_loop.cpp
buddha_ at users.sourceforge.net
buddha_ at users.sourceforge.net
Tue Jul 29 15:46:42 CEST 2008
Revision: 33410
http://scummvm.svn.sourceforge.net/scummvm/?rev=33410&view=rev
Author: buddha_
Date: 2008-07-29 13:46:42 +0000 (Tue, 29 Jul 2008)
Log Message:
-----------
Make sure processSeqList and purgeSeqList are only called in the main loop when running Operation Stealth. Mostly a precaution as the seqList should be totally empty when running Future Wars as it doesn't use it.
Modified Paths:
--------------
scummvm/trunk/engines/cine/main_loop.cpp
Modified: scummvm/trunk/engines/cine/main_loop.cpp
===================================================================
--- scummvm/trunk/engines/cine/main_loop.cpp 2008-07-29 13:44:14 UTC (rev 33409)
+++ scummvm/trunk/engines/cine/main_loop.cpp 2008-07-29 13:46:42 UTC (rev 33410)
@@ -257,13 +257,17 @@
}
}
- processSeqList();
+ if (g_cine->getGameType() == Cine::GType_OS) {
+ processSeqList();
+ }
executeObjectScripts();
executeGlobalScripts();
purgeObjectScripts();
purgeGlobalScripts();
- purgeSeqList();
+ if (g_cine->getGameType() == Cine::GType_OS) {
+ purgeSeqList();
+ }
if (playerCommand == -1) {
setMouseCursor(MOUSE_CURSOR_NORMAL);
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