diff options
author | Johannes Schickel | 2008-03-26 16:11:47 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-03-26 16:11:47 +0000 |
commit | afed582280195bc0165e93af7003aadea6438c89 (patch) | |
tree | 797a44632af7beb233b159329d8a095612ff2fb3 /engines/kyra | |
parent | b2aea51d5851a70beb7bacdda1c057c6c588487e (diff) | |
download | scummvm-rg350-afed582280195bc0165e93af7003aadea6438c89.tar.gz scummvm-rg350-afed582280195bc0165e93af7003aadea6438c89.tar.bz2 scummvm-rg350-afed582280195bc0165e93af7003aadea6438c89.zip |
Fix bug #1923638 "HoF: Marco missing animation frames".
svn-id: r31243
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/scene_v2.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/kyra/scene_v2.cpp b/engines/kyra/scene_v2.cpp index 319ad6f682..128ad79dcb 100644 --- a/engines/kyra/scene_v2.cpp +++ b/engines/kyra/scene_v2.cpp @@ -715,8 +715,10 @@ void KyraEngine_v2::updateSpecialSceneScripts() { !_specialSceneScriptState[_lastProcessedSceneScript]) { _specialSceneScriptRunFlag = true; - while (_specialSceneScriptRunFlag && _sceneSpecialScriptsTimer[_lastProcessedSceneScript] <= _system->getMillis()) - _specialSceneScriptRunFlag = _scriptInterpreter->runScript(&_sceneSpecialScripts[_lastProcessedSceneScript]) != 0; + while (_specialSceneScriptRunFlag && _sceneSpecialScriptsTimer[_lastProcessedSceneScript] <= _system->getMillis()) { + if (!_scriptInterpreter->runScript(&_sceneSpecialScripts[_lastProcessedSceneScript])) + _specialSceneScriptRunFlag = false; + } } if (!_scriptInterpreter->validScript(&_sceneSpecialScripts[_lastProcessedSceneScript])) { |