diff options
author | Gregory Montoir | 2004-01-16 15:51:23 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-01-16 15:51:23 +0000 |
commit | 770d94b6071d5cd4ba0f4db7127b032c72c02a47 (patch) | |
tree | 0a789ccecd05002b896348e7f0c4074da479a5fd /queen/logic.cpp | |
parent | 3c521dc28858ef845ae0f0deae8f708fd1320421 (diff) | |
download | scummvm-rg350-770d94b6071d5cd4ba0f4db7127b032c72c02a47.tar.gz scummvm-rg350-770d94b6071d5cd4ba0f4db7127b032c72c02a47.tar.bz2 scummvm-rg350-770d94b6071d5cd4ba0f4db7127b032c72c02a47.zip |
some assert() calls
svn-id: r12435
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; |