TOLTECS: Fix operator order (pre-decrement instead of post-decrement)

A typo in commit 98fa064. Thanks to LordHoto for pointing that out
This commit is contained in:
Filippos Karapetis 2013-05-14 02:11:59 +03:00
parent 98fa064edf
commit 247472624a

View File

@ -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();
}