diff options
-rw-r--r-- | queen/logic.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queen/logic.cpp b/queen/logic.cpp index bb8aae39bf..e756abcd0a 100644 --- a/queen/logic.cpp +++ b/queen/logic.cpp @@ -345,8 +345,8 @@ uint16 Logic::findBob(uint16 obj) { img -= 5000; } - if (img >= _numGraphics) - warning("img (%i) >= _numGraphics (%i)", img, _numGraphics); + if (img > _numGraphics) + warning("img (%i) > _numGraphics (%i)", img, _numGraphics); if(_graphicData[img].lastFrame != 0) { ++idxAnimated; |