diff options
-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]; |