Quick patch for a Zak script bug.

svn-id: r3613
This commit is contained in:
James Brown 2002-02-20 01:56:41 +00:00
parent 495be47007
commit f0b89789eb
2 changed files with 7 additions and 1 deletions

View file

@ -2269,6 +2269,9 @@ void Scumm::o5_wait() {
break; break;
return; return;
case 2: /* wait for message */ case 2: /* wait for message */
if ((_currentRoom == 0) && (_gameId == GID_ZAK256)) // Bypass Zak256 script hang
return;
if (_vars[VAR_HAVE_MSG]) if (_vars[VAR_HAVE_MSG])
break; break;
return; return;

View file

@ -235,6 +235,9 @@ void Scumm::scummMain(int argc, char **argv) {
#endif #endif
_vars[VAR_DEBUGMODE] = _debugMode; _vars[VAR_DEBUGMODE] = _debugMode;
_haveMsg = 0xFF;
_vars[VAR_HAVE_MSG] = 0xFF;
if (_gameId==GID_MONKEY) { if (_gameId==GID_MONKEY) {
_vars[74] = 1225; _vars[74] = 1225;
} }