diff options
| -rw-r--r-- | engines/kyra/script_v1.cpp | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/kyra/script_v1.cpp b/engines/kyra/script_v1.cpp index f0052424f0..be556c7cd6 100644 --- a/engines/kyra/script_v1.cpp +++ b/engines/kyra/script_v1.cpp @@ -1130,7 +1130,8 @@ int KyraEngine::o1_preserveAllObjectBackgrounds(ScriptState *script) {  int KyraEngine::o1_updateSceneAnimations(ScriptState *script) {  	debugC(3, kDebugLevelScriptFuncs, "o1_updateSceneAnimations(%p) (%d)", (const void *)script, stackPos(0)); -	if (stackPos(0)) { +	int times = stackPos(0); +	while (times--) {  		_sprites->updateSceneAnims();  		_animator->updateAllObjectShapes();  	}  | 
