diff options
-rw-r--r-- | queen/logic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/queen/logic.cpp b/queen/logic.cpp index 63c6e2f620..90b8889b19 100644 --- a/queen/logic.cpp +++ b/queen/logic.cpp @@ -566,7 +566,7 @@ uint16 Logic::findFrame(uint16 obj) { img = _objectData[i].image; if(img <= -10) { GraphicData* pgd = &_graphicData[-(img + 10)]; - if(pgd->lastFrame > 0) { + if(pgd->lastFrame != 0) { // skip all the frames of the animation idx += ABS(pgd->lastFrame) - pgd->firstFrame + 1; } |