diff options
Diffstat (limited to 'engines/zvision')
-rw-r--r-- | engines/zvision/rlf_animation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/rlf_animation.cpp b/engines/zvision/rlf_animation.cpp index 2b37ff147e..52ca96f0e1 100644 --- a/engines/zvision/rlf_animation.cpp +++ b/engines/zvision/rlf_animation.cpp @@ -195,7 +195,7 @@ const uint16 *RlfAnimation::getNextFrame() { applyFrameToCurrent(_currentFrame + 1); } - _currentFrame -= 1; + _currentFrame++; return _currentFrameBuffer; } @@ -204,7 +204,7 @@ const uint16 *RlfAnimation::getPreviousFrame() { assert(_currentFrame - 1 >= 0); applyFrameToCurrent(_currentFrame - 1); - _currentFrame =- 1; + _currentFrame--; return _currentFrameBuffer; } |