aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/game_v2.cpp
diff options
context:
space:
mode:
authorSven Hesse2006-12-18 14:33:37 +0000
committerSven Hesse2006-12-18 14:33:37 +0000
commitfc6f8a47f1123661f92be4350c94d9a967559e62 (patch)
tree953f0e1f39d28400a54177b696a2b118352660d4 /engines/gob/game_v2.cpp
parent4c46f4a8789894b30a7ffef58c8c218a2bf74b96 (diff)
downloadscummvm-rg350-fc6f8a47f1123661f92be4350c94d9a967559e62.tar.gz
scummvm-rg350-fc6f8a47f1123661f92be4350c94d9a967559e62.tar.bz2
scummvm-rg350-fc6f8a47f1123661f92be4350c94d9a967559e62.zip
Added a waitRetrace in Game_v2::CheckCollisions() and rearranged the delay in o1_keyFunc(), so that the save name dialog is shown and the "Empty Inventory" message is displayed properly as well.
svn-id: r24874
Diffstat (limited to 'engines/gob/game_v2.cpp')
-rw-r--r--engines/gob/game_v2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/gob/game_v2.cpp b/engines/gob/game_v2.cpp
index b64c9629fb..e18f8a9e37 100644
--- a/engines/gob/game_v2.cpp
+++ b/engines/gob/game_v2.cpp
@@ -475,6 +475,7 @@ int16 Game_v2::checkCollisions(char handleMouse, int16 deltaTime, int16 *pResId,
_vm->_draw->animateCursor(-1);
else
_vm->_draw->blitInvalidated();
+ _vm->_video->waitRetrace(_vm->_global->_videoMode);
}
key = checkKeys(&_vm->_global->_inter_mouseX, &_vm->_global->_inter_mouseY,