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
This commit is contained in:
Kari Salminen 2008-07-29 13:46:42 +00:00
parent d83c6d7d68
commit c9051fcfbd

View File

@ -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);