From ecb9c2dd74f28a38203df5b57101cbfd6b69851c Mon Sep 17 00:00:00 2001 From: James Brown Date: Wed, 8 Jan 2003 22:47:44 +0000 Subject: HACK alert: Don't crash due to this silly verbage bug svn-id: r6362 --- scumm/script_v8.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'scumm') 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]; -- cgit v1.2.3