[Scummvm-cvs-logs] CVS: scummvm/scumm script_v8.cpp,2.97,2.98
James Brown
ender at users.sourceforge.net
Wed Jan 8 14:48:07 CET 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv20989/scumm
Modified Files:
script_v8.cpp
Log Message:
HACK alert: Don't crash due to this silly verbage bug
Index: script_v8.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v8.cpp,v
retrieving revision 2.97
retrieving revision 2.98
diff -u -d -r2.97 -r2.98
--- script_v8.cpp 8 Jan 2003 22:43:03 -0000 2.97
+++ script_v8.cpp 8 Jan 2003 22:47:44 -0000 2.98
@@ -1174,8 +1174,10 @@
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];
More information about the Scummvm-git-logs
mailing list