diff options
author | Kari Salminen | 2008-07-29 13:46:42 +0000 |
---|---|---|
committer | Kari Salminen | 2008-07-29 13:46:42 +0000 |
commit | c9051fcfbd9b1f227bf5bddd81aac478d139e358 (patch) | |
tree | a98e70ead98f558833b67d32203b8ce3d1add591 /engines | |
parent | d83c6d7d68027d3a174ad305720ed3c5de7cb0c7 (diff) | |
download | scummvm-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
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cine/main_loop.cpp | 8 |
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); |