You did not see the previous version of this code

svn-id: r10547
This commit is contained in:
David Eriksson 2003-10-02 19:37:51 +00:00
parent d6c3235c0e
commit 058ec2c7c6

View File

@ -235,10 +235,8 @@ uint16 QueenLogic::findBob(uint16 obj) {
uint16 bobnum = 0; uint16 bobnum = 0;
uint16 bobtype = 0; // 1 for animated, 0 for static uint16 bobtype = 0; // 1 for animated, 0 for static
if (obj > _numObjects) { if (obj > _numObjects)
debug(0, "Object index (%i) > _numObjects (%i)", obj, _numObjects); error("Object index (%i) > _numObjects (%i)", obj, _numObjects);
abort();
}
uint16 room = _objectData[obj].room; uint16 room = _objectData[obj].room;