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

@ -2268,7 +2268,10 @@ void Scumm::o5_wait() {
if (derefActorSafe(getVarOrDirectByte(0x80), "o5_wait")->moving)
break;
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])
break;
return;