aboutsummaryrefslogtreecommitdiff
path: root/engines/draci
diff options
context:
space:
mode:
Diffstat (limited to 'engines/draci')
-rw-r--r--engines/draci/animation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/draci/animation.cpp b/engines/draci/animation.cpp
index 84ec6eceab..2865a1daf6 100644
--- a/engines/draci/animation.cpp
+++ b/engines/draci/animation.cpp
@@ -85,8 +85,8 @@ void Animation::markDirtyRect(Surface *surface) {
void Animation::nextFrame(bool force) {
- // If there's only one or no frames, or if the animation is not playing, return
- if (getFrameCount() < 2 || !_playing)
+ // If there are no frames or if the animation is not playing, return
+ if (getFrameCount() == 0 || !_playing)
return;
Drawable *frame = _frames[_currentFrame];