From 247472624abaa85e6cc95093e3a5d4020f9aa968 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 14 May 2013 02:11:59 +0300 Subject: TOLTECS: Fix operator order (pre-decrement instead of post-decrement) A typo in commit 98fa064. Thanks to LordHoto for pointing that out --- engines/toltecs/movie.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/toltecs') 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(); } -- cgit v1.2.3