diff options
-rw-r--r-- | queen/graphics.cpp | 2 | ||||
-rw-r--r-- | queen/graphics.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/queen/graphics.cpp b/queen/graphics.cpp index 5225eb410f..359795f92f 100644 --- a/queen/graphics.cpp +++ b/queen/graphics.cpp @@ -258,7 +258,7 @@ void BobSlot::animOneStep() { if (anim.string.buffer != NULL) { --anim.speed; - if(anim.speed == 0) { + if(anim.speed <= 0) { // jump to next entry ++anim.string.curPos; uint16 nextFrame = anim.string.curPos->frame; diff --git a/queen/graphics.h b/queen/graphics.h index 7e29de94a5..78bc765591 100644 --- a/queen/graphics.h +++ b/queen/graphics.h @@ -60,7 +60,7 @@ struct BobSlot { //! animation stuff bool animating; struct { - uint16 speed, speedBak; + int16 speed, speedBak; // Must be signed! //! string based animation struct { |