aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2009-06-29 17:06:00 +0000
committerJohannes Schickel2009-06-29 17:06:00 +0000
commitc2d13aab2aa6299ad213f74fdf045b7b7ddcbf71 (patch)
tree3a373ec24e33ff5a70c818018d5b5d2cd43c2f4f /engines
parent31691eb6bf7332392a862bcedc3fdf0f7438666f (diff)
downloadscummvm-rg350-c2d13aab2aa6299ad213f74fdf045b7b7ddcbf71.tar.gz
scummvm-rg350-c2d13aab2aa6299ad213f74fdf045b7b7ddcbf71.tar.bz2
scummvm-rg350-c2d13aab2aa6299ad213f74fdf045b7b7ddcbf71.zip
Update the screen animations while dropping items in Hand of Fate.
svn-id: r41955
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/items_hof.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/engines/kyra/items_hof.cpp b/engines/kyra/items_hof.cpp
index 9d18829252..13e269f363 100644
--- a/engines/kyra/items_hof.cpp
+++ b/engines/kyra/items_hof.cpp
@@ -238,9 +238,7 @@ void KyraEngine_HoF::itemDropDown(int startX, int startY, int dstX, int dstY, in
_screen->drawShape(0, itemShape, curX, curY-16, 0, 0);
_screen->updateScreen();
- // XXX: original doesn't update game state while delaying
- // our implementation *could* do it, so maybe check this again
- delayUntil(endDelay);
+ delayUntil(endDelay, false, true);
}
if (dstX != dstY || (dstY - startY > 16)) {
@@ -275,9 +273,7 @@ void KyraEngine_HoF::itemDropDown(int startX, int startY, int dstX, int dstY, in
_screen->drawShape(0, itemShape, x, y, 0, 0);
_screen->updateScreen();
- // XXX: original doesn't update game state while delaying
- // our implementation *could* do it, so maybe check this again
- delayUntil(endDelay);
+ delayUntil(endDelay, false, true);
}
restoreGfxRect24x24(x, y);