diff options
author | richiesams | 2013-08-24 00:14:25 -0500 |
---|---|---|
committer | richiesams | 2013-08-24 00:23:42 -0500 |
commit | 6610ca1b82a1e335eecf139aaa4ba062574f48b7 (patch) | |
tree | 0b7a039554d9a7f9d9715f87b0cdbc099e7fe70e /engines | |
parent | aed38867ceb4fc13f221322aae15054fece7cff2 (diff) | |
download | scummvm-rg350-6610ca1b82a1e335eecf139aaa4ba062574f48b7.tar.gz scummvm-rg350-6610ca1b82a1e335eecf139aaa4ba062574f48b7.tar.bz2 scummvm-rg350-6610ca1b82a1e335eecf139aaa4ba062574f48b7.zip |
ZVISION: Fix error: decrementing instead of incrementing
Diffstat (limited to 'engines')
-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; } |