aboutsummaryrefslogtreecommitdiff
path: root/kyra/script_v1.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2006-02-11 00:17:20 +0000
committerJohannes Schickel2006-02-11 00:17:20 +0000
commit590289d937be8104f03a22727f0796c22106ffda (patch)
treee64b21d7d98be13c921f313411972ddb0c43ad39 /kyra/script_v1.cpp
parent651faae2a4797627a50e99a9f182478bf1f27c1a (diff)
downloadscummvm-rg350-590289d937be8104f03a22727f0796c22106ffda.tar.gz
scummvm-rg350-590289d937be8104f03a22727f0796c22106ffda.tar.bz2
scummvm-rg350-590289d937be8104f03a22727f0796c22106ffda.zip
Fixes the bug when displaying the falling leafe scene in room 12 and text bugs which overwride the interface. (also in the scene with the ruby tree)
svn-id: r20483
Diffstat (limited to 'kyra/script_v1.cpp')
-rw-r--r--kyra/script_v1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kyra/script_v1.cpp b/kyra/script_v1.cpp
index 209e894023..a2ccd2adb8 100644
--- a/kyra/script_v1.cpp
+++ b/kyra/script_v1.cpp
@@ -234,10 +234,10 @@ int KyraEngine::cmd_destroyMouseItem(ScriptState *script) {
int KyraEngine::cmd_runSceneAnimUntilDone(ScriptState *script) {
debug(3, "cmd_runSceneAnimUntilDone(0x%X) (%d)", script, stackPos(0));
- _sprites->_anims[stackPos(0)].play = true;
- _animator->sprites()[stackPos(0)].active = 1;
_screen->hideMouse();
_animator->restoreAllObjectBackgrounds();
+ _sprites->_anims[stackPos(0)].play = true;
+ _animator->sprites()[stackPos(0)].active = 1;
_animator->flagAllObjectsForBkgdChange();
_animator->preserveAnyChangedBackgrounds();
while (_sprites->_anims[stackPos(0)].play) {