[Scummvm-cvs-logs] scummvm master -> 247472624abaa85e6cc95093e3a5d4020f9aa968

bluegr bluegr at gmail.com
Tue May 14 01:13:08 CEST 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

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


Commit: 247472624abaa85e6cc95093e3a5d4020f9aa968
    https://github.com/scummvm/scummvm/commit/247472624abaa85e6cc95093e3a5d4020f9aa968
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2013-05-13T16:11:59-07:00

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

A typo in commit 98fa064. Thanks to LordHoto for pointing that out

Changed paths:
    engines/toltecs/movie.cpp



diff --git a/engines/toltecs/movie.cpp b/engines/toltecs/movie.cpp
index 81403c3..341da7e 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();
 			}
 






More information about the Scummvm-git-logs mailing list