cleanup; added hackish fix for bug #744441

svn-id: r8048
This commit is contained in:
Max Horn 2003-05-28 14:01:54 +00:00
parent 8d4b2bbf73
commit 03609cc465
2 changed files with 47 additions and 30 deletions

View file

@ -631,7 +631,8 @@ void Scumm_v8::o8_mod() {
}
void Scumm_v8::o8_wait() {
int actnum, offs;
int actnum;
int offs = -2;
Actor *a;
byte subOp = fetchScriptByte();
@ -684,7 +685,7 @@ void Scumm_v8::o8_wait() {
error("o8_wait: default case 0x%x", subOp);
}
_scriptPointer -= 2;
_scriptPointer += offs;
o6_breakHere();
}