From 5db47f56d0cd3bcfd8a62d6c81027777af16eb8e Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 12 Jan 2003 13:40:12 +0000 Subject: fix for the COMI inventory crash svn-id: r6426 --- scumm/scummvm.cpp | 2 ++ 1 file changed, 2 insertions(+) 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]; } -- cgit v1.2.3