aboutsummaryrefslogtreecommitdiff
path: root/scumm/scummvm.cpp
diff options
context:
space:
mode:
authorMax Horn2003-01-12 13:40:12 +0000
committerMax Horn2003-01-12 13:40:12 +0000
commit5db47f56d0cd3bcfd8a62d6c81027777af16eb8e (patch)
tree05957eef6d5f277ecf4a7c632bbbebaf9257ef01 /scumm/scummvm.cpp
parent4c7fdebaf2541552bad7d82ef13845b062606164 (diff)
downloadscummvm-rg350-5db47f56d0cd3bcfd8a62d6c81027777af16eb8e.tar.gz
scummvm-rg350-5db47f56d0cd3bcfd8a62d6c81027777af16eb8e.tar.bz2
scummvm-rg350-5db47f56d0cd3bcfd8a62d6c81027777af16eb8e.zip
fix for the COMI inventory crash
svn-id: r6426
Diffstat (limited to 'scumm/scummvm.cpp')
-rw-r--r--scumm/scummvm.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp
index cb8f1d8cb7..83b49cbca4 100644
--- a/scumm/scummvm.cpp
+++ b/scumm/scummvm.cpp
@@ -575,6 +575,8 @@ int Scumm::scummLoop(int delta)
_system->show_mouse(_cursor.state > 0);
_vars[VAR_TIMER] = 0;
+ if (_features & GF_AFTER_V8)
+ _vars[300] = 0; // FIXME - this fixes an inventory crash. But is it correct this way?
return _vars[VAR_TIMER_NEXT];
}