aboutsummaryrefslogtreecommitdiff
path: root/engines/toltecs
diff options
context:
space:
mode:
authorFilippos Karapetis2013-05-14 02:11:59 +0300
committerFilippos Karapetis2013-05-14 02:11:59 +0300
commit247472624abaa85e6cc95093e3a5d4020f9aa968 (patch)
tree713143aeec9f0711e346b836a8877f64c16c351b /engines/toltecs
parent98fa064edf5264c49508dabb1803c473c6f703e3 (diff)
downloadscummvm-rg350-247472624abaa85e6cc95093e3a5d4020f9aa968.tar.gz
scummvm-rg350-247472624abaa85e6cc95093e3a5d4020f9aa968.tar.bz2
scummvm-rg350-247472624abaa85e6cc95093e3a5d4020f9aa968.zip
TOLTECS: Fix operator order (pre-decrement instead of post-decrement)
A typo in commit 98fa064. Thanks to LordHoto for pointing that out
Diffstat (limited to 'engines/toltecs')
-rw-r--r--engines/toltecs/movie.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/toltecs/movie.cpp b/engines/toltecs/movie.cpp
index 81403c3e41..341da7e5f3 100644
--- a/engines/toltecs/movie.cpp
+++ b/engines/toltecs/movie.cpp
@@ -129,7 +129,7 @@ void MoviePlayer::playMovie(uint resIndex) {
unpackRle(chunkBuffer, _vm->_screen->_backScreen);
_vm->_screen->_fullRefresh = true;
- if (soundChunkFramesLeft-- <= _framesPerSoundChunk) {
+ if (--soundChunkFramesLeft <= _framesPerSoundChunk) {
fetchAudioChunks();
}