diff options
-rw-r--r-- | engines/pink/objects/actions/action_still.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/pink/objects/actions/action_still.cpp b/engines/pink/objects/actions/action_still.cpp index d0b27586d4..345b42e4e9 100644 --- a/engines/pink/objects/actions/action_still.cpp +++ b/engines/pink/objects/actions/action_still.cpp @@ -66,7 +66,7 @@ void ActionStill::setFrame(uint frame) { } void ActionStill::nextFrameLooped() { - assert(_decoder.getCurFrame() != -1); + assert(_decoder.getFrameCount() != 0); setFrame((_decoder.getCurFrame() + 1) % _decoder.getFrameCount()); } |