diff options
author | James Brown | 2003-01-08 22:47:44 +0000 |
---|---|---|
committer | James Brown | 2003-01-08 22:47:44 +0000 |
commit | ecb9c2dd74f28a38203df5b57101cbfd6b69851c (patch) | |
tree | 9ac7679e35956565ed198ba55b24f3715b325edc | |
parent | ca5b32132ba5c0c53aaabea9e0f05e759d833a2c (diff) | |
download | scummvm-rg350-ecb9c2dd74f28a38203df5b57101cbfd6b69851c.tar.gz scummvm-rg350-ecb9c2dd74f28a38203df5b57101cbfd6b69851c.tar.bz2 scummvm-rg350-ecb9c2dd74f28a38203df5b57101cbfd6b69851c.zip |
HACK alert: Don't crash due to this silly verbage bug
svn-id: r6362
-rw-r--r-- | scumm/script_v8.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp index a6ca6cdf91..e50b04442d 100644 --- a/scumm/script_v8.cpp +++ b/scumm/script_v8.cpp @@ -1174,8 +1174,10 @@ void Scumm_v8::o8_verbOps() if (_verbs[slot].verbid == 0) break; } - if (slot == _maxVerbs) - error("Too many verbs"); + if (slot == _maxVerbs) { + warning("Too many verbs"); + break; + } _curVerbSlot = slot; } vs = &_verbs[_curVerbSlot]; |