aboutsummaryrefslogtreecommitdiff
path: root/scumm/scumm.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-07-16 03:39:23 +0000
committerTravis Howell2004-07-16 03:39:23 +0000
commitbd8c7f08f626eb75b5eb3d20769b3de2a3aeda43 (patch)
tree837761099ad8ddb8bbfa0aeef97acde02c544e11 /scumm/scumm.cpp
parentefbd2fe42feacbcc93a72932aadb35af8d8bd512 (diff)
downloadscummvm-rg350-bd8c7f08f626eb75b5eb3d20769b3de2a3aeda43.tar.gz
scummvm-rg350-bd8c7f08f626eb75b5eb3d20769b3de2a3aeda43.tar.bz2
scummvm-rg350-bd8c7f08f626eb75b5eb3d20769b3de2a3aeda43.zip
Fix bugs:
FT: Stadium Salesman Glitches COMI: Wally's Fake piratehook still on ground after pick up svn-id: r14221
Diffstat (limited to 'scumm/scumm.cpp')
-rw-r--r--scumm/scumm.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp
index 45259a24c8..f49e14581a 100644
--- a/scumm/scumm.cpp
+++ b/scumm/scumm.cpp
@@ -1468,7 +1468,8 @@ int ScummEngine::scummLoop(int delta) {
} else {
VAR(VAR_CAMERA_POS_X) = camera._cur.x;
}
- VAR(VAR_HAVE_MSG) = (_haveMsg == 0xFE) ? 0xFF : _haveMsg;
+ if (_version <= 7)
+ VAR(VAR_HAVE_MSG) = (_haveMsg == 0xFE) ? 0xFF : _haveMsg;
if (_version <= 2) {
VAR(VAR_VIRT_MOUSE_X) = _virtualMouse.x / 8;
VAR(VAR_VIRT_MOUSE_Y) = _virtualMouse.y / 2;