[Scummvm-cvs-logs] CVS: scummvm/scumm script.cpp,1.7,1.8
James Brown
ender at users.sourceforge.net
Sat Nov 2 04:23:22 CET 2002
Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv8315/scumm
Modified Files:
script.cpp
Log Message:
*cough*... never mind me...
Index: script.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- script.cpp 2 Nov 2002 12:20:41 -0000 1.7
+++ script.cpp 2 Nov 2002 12:21:40 -0000 1.8
@@ -843,7 +843,7 @@
int Scumm::pop()
{
- if ((_scummStackPos > 0) && ((unsigned int)_scummStackPos <= ARRAYSIZE(_scummStack))) {
+ if ((_scummStackPos < 1) || ((unsigned int)_scummStackPos > ARRAYSIZE(_scummStack))) {
error("No items on stack to pop() for %s (0x%X) at [%d-%d]\n", _opcodes_lookup[_opcode], _opcode, _roomResource, vm.slot[_currentScript].number);
}
More information about the Scummvm-git-logs
mailing list