aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKari Salminen2008-07-29 13:46:42 +0000
committerKari Salminen2008-07-29 13:46:42 +0000
commitc9051fcfbd9b1f227bf5bddd81aac478d139e358 (patch)
treea98e70ead98f558833b67d32203b8ce3d1add591
parentd83c6d7d68027d3a174ad305720ed3c5de7cb0c7 (diff)
downloadscummvm-rg350-c9051fcfbd9b1f227bf5bddd81aac478d139e358.tar.gz
scummvm-rg350-c9051fcfbd9b1f227bf5bddd81aac478d139e358.tar.bz2
scummvm-rg350-c9051fcfbd9b1f227bf5bddd81aac478d139e358.zip
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.
svn-id: r33410
-rw-r--r--engines/cine/main_loop.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/cine/main_loop.cpp b/engines/cine/main_loop.cpp
index ffaa1b49b4..e5e670c973 100644
--- a/engines/cine/main_loop.cpp
+++ b/engines/cine/main_loop.cpp
@@ -257,13 +257,17 @@ void CineEngine::mainLoop(int bootScriptIdx) {
}
}
- 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);