diff options
Diffstat (limited to 'queen/logic.cpp')
-rw-r--r-- | queen/logic.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/queen/logic.cpp b/queen/logic.cpp index 56eba6566f..5bd080d763 100644 --- a/queen/logic.cpp +++ b/queen/logic.cpp @@ -299,8 +299,7 @@ uint16 Logic::findBob(uint16 obj) { img -= 5000; } - if (img > _numGraphics) - warning("img (%i) > _numGraphics (%i)", img, _numGraphics); + assert (img <= _numGraphics); if(_graphicData[img].lastFrame != 0) { ++idxAnimated; |