diff options
author | Max Horn | 2003-01-12 13:40:12 +0000 |
---|---|---|
committer | Max Horn | 2003-01-12 13:40:12 +0000 |
commit | 5db47f56d0cd3bcfd8a62d6c81027777af16eb8e (patch) | |
tree | 05957eef6d5f277ecf4a7c632bbbebaf9257ef01 | |
parent | 4c7fdebaf2541552bad7d82ef13845b062606164 (diff) | |
download | scummvm-rg350-5db47f56d0cd3bcfd8a62d6c81027777af16eb8e.tar.gz scummvm-rg350-5db47f56d0cd3bcfd8a62d6c81027777af16eb8e.tar.bz2 scummvm-rg350-5db47f56d0cd3bcfd8a62d6c81027777af16eb8e.zip |
fix for the COMI inventory crash
svn-id: r6426
-rw-r--r-- | scumm/scummvm.cpp | 2 |
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]; } |