diff options
author | David Eriksson | 2003-10-02 19:37:51 +0000 |
---|---|---|
committer | David Eriksson | 2003-10-02 19:37:51 +0000 |
commit | 058ec2c7c611457578dc3bcb31e82820a514ac50 (patch) | |
tree | 4baa8d80bee459a3efe38a3bfdb706fc71a302a3 /queen | |
parent | d6c3235c0e01828f3382d41c1a817c3774f545a1 (diff) | |
download | scummvm-rg350-058ec2c7c611457578dc3bcb31e82820a514ac50.tar.gz scummvm-rg350-058ec2c7c611457578dc3bcb31e82820a514ac50.tar.bz2 scummvm-rg350-058ec2c7c611457578dc3bcb31e82820a514ac50.zip |
You did not see the previous version of this code
svn-id: r10547
Diffstat (limited to 'queen')
-rw-r--r-- | queen/logic.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/queen/logic.cpp b/queen/logic.cpp index f83432e9dc..8d9814c0da 100644 --- a/queen/logic.cpp +++ b/queen/logic.cpp @@ -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; |