diff options
-rw-r--r-- | engines/draci/animation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/draci/animation.cpp b/engines/draci/animation.cpp index c5c33153ea..84ec6eceab 100644 --- a/engines/draci/animation.cpp +++ b/engines/draci/animation.cpp @@ -258,7 +258,7 @@ uint Animation::currentFrameNum() { void Animation::setCurrentFrame(uint frame) { // Check whether the value is sane - if (frame > _frames.size()) { + if (frame >= _frames.size()) { return; } |