HACK alert: Don't crash due to this silly verbage bug
svn-id: r6362
This commit is contained in:
parent
ca5b32132b
commit
ecb9c2dd74
1 changed files with 4 additions and 2 deletions
|
@ -1174,8 +1174,10 @@ void Scumm_v8::o8_verbOps()
|
||||||
if (_verbs[slot].verbid == 0)
|
if (_verbs[slot].verbid == 0)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (slot == _maxVerbs)
|
if (slot == _maxVerbs) {
|
||||||
error("Too many verbs");
|
warning("Too many verbs");
|
||||||
|
break;
|
||||||
|
}
|
||||||
_curVerbSlot = slot;
|
_curVerbSlot = slot;
|
||||||
}
|
}
|
||||||
vs = &_verbs[_curVerbSlot];
|
vs = &_verbs[_curVerbSlot];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue