aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2010-04-27 20:14:56 +0000
committerWillem Jan Palenstijn2010-04-27 20:14:56 +0000
commit6f4063fd5f1c8d5ccf1ee44a8474a287d5ede723 (patch)
treefa8ac3698e8e63f60c04ec547e24f2f8196334fe
parent46c520f7972cac192b018896a039264a47984526 (diff)
downloadscummvm-rg350-6f4063fd5f1c8d5ccf1ee44a8474a287d5ede723.tar.gz
scummvm-rg350-6f4063fd5f1c8d5ccf1ee44a8474a287d5ede723.tar.bz2
scummvm-rg350-6f4063fd5f1c8d5ccf1ee44a8474a287d5ede723.zip
Fix warning
svn-id: r48817
-rw-r--r--engines/tinsel/music.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tinsel/music.cpp b/engines/tinsel/music.cpp
index f282d133a0..cef7f0a781 100644
--- a/engines/tinsel/music.cpp
+++ b/engines/tinsel/music.cpp
@@ -898,7 +898,7 @@ bool PCMMusicPlayer::getNextChunk() {
_state = S_END2;
} else {
if (snum == MUSIC_JUMP)
- _scriptIndex = FROM_LE_32(script[++_scriptIndex]);
+ _scriptIndex = FROM_LE_32(script[_scriptIndex+1]);
_state = _forcePlay ? S_NEW : S_NEXT;
_forcePlay = false;