mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 22:28:10 +00:00
You did not see the previous version of this code
svn-id: r10547
This commit is contained in:
parent
d6c3235c0e
commit
058ec2c7c6
@ -235,10 +235,8 @@ uint16 QueenLogic::findBob(uint16 obj) {
|
||||
uint16 bobnum = 0;
|
||||
uint16 bobtype = 0; // 1 for animated, 0 for static
|
||||
|
||||
if (obj > _numObjects) {
|
||||
debug(0, "Object index (%i) > _numObjects (%i)", obj, _numObjects);
|
||||
abort();
|
||||
}
|
||||
if (obj > _numObjects)
|
||||
error("Object index (%i) > _numObjects (%i)", obj, _numObjects);
|
||||
|
||||
uint16 room = _objectData[obj].room;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user