diff options
-rw-r--r-- | engines/pink/objects/actions/action_loop.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/pink/objects/actions/action_loop.cpp b/engines/pink/objects/actions/action_loop.cpp index 09bea7c6ec..fb84695e68 100644 --- a/engines/pink/objects/actions/action_loop.cpp +++ b/engines/pink/objects/actions/action_loop.cpp @@ -68,7 +68,7 @@ void ActionLoop::update() { switch (_style) { case kPingPong: if (_forward) { - if (frame < _stopFrame) { + if (frame < (uint)_stopFrame) { decodeNext(); } else { _forward = false; @@ -91,7 +91,7 @@ void ActionLoop::update() { break; } case kForward: - if (frame == _stopFrame) { + if (frame == (uint)_stopFrame) { setFrame(_startFrame); } decodeNext(); |