aboutsummaryrefslogtreecommitdiff
path: root/queen
diff options
context:
space:
mode:
authorGregory Montoir2003-11-26 23:06:34 +0000
committerGregory Montoir2003-11-26 23:06:34 +0000
commite72a17c67823d088a6bf139e49f25db745f005de (patch)
tree4a71bfdec40bc18315d6ba661d315386391e7053 /queen
parent2f444d2a076bdbe7c5b805c9e923c9c75b7a630f (diff)
downloadscummvm-rg350-e72a17c67823d088a6bf139e49f25db745f005de.tar.gz
scummvm-rg350-e72a17c67823d088a6bf139e49f25db745f005de.tar.bz2
scummvm-rg350-e72a17c67823d088a6bf139e49f25db745f005de.zip
oops
svn-id: r11381
Diffstat (limited to 'queen')
-rw-r--r--queen/logic.cpp2
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;
}