aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2014-05-14 11:33:19 +0200
committerEugene Sandulenko2014-05-14 11:33:19 +0200
commitb07a833b639fa90c1306bcf1674f3f244ceba043 (patch)
tree986a60652e75063fb4881fc2e608605d7aaad969
parent8bf202fe66ab9f5cdbb0e5b6ec43ea6481dbf036 (diff)
downloadscummvm-rg350-b07a833b639fa90c1306bcf1674f3f244ceba043.tar.gz
scummvm-rg350-b07a833b639fa90c1306bcf1674f3f244ceba043.tar.bz2
scummvm-rg350-b07a833b639fa90c1306bcf1674f3f244ceba043.zip
FULLPIPE: Fix mistypo in FullpipeEngine::stopAllSounds() which lead to crash
-rw-r--r--engines/fullpipe/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/sound.cpp b/engines/fullpipe/sound.cpp
index 3578e2a1df..ced5c75850 100644
--- a/engines/fullpipe/sound.cpp
+++ b/engines/fullpipe/sound.cpp
@@ -301,7 +301,7 @@ void FullpipeEngine::stopAllSounds() {
// _mixer->stopAll();
for (int i = 0; i < _currSoundListCount; i++)
- for (int j = 0; i < _currSoundList1[i]->getCount(); j++) {
+ for (int j = 0; j < _currSoundList1[i]->getCount(); j++) {
_currSoundList1[i]->getSoundByIndex(j)->stop();
}
}