aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe
diff options
context:
space:
mode:
authorEugene Sandulenko2016-09-11 23:08:03 +0200
committerEugene Sandulenko2016-09-11 23:18:25 +0200
commit0046cefd4ec1d5cea62addfbb3a629a2cc50f243 (patch)
tree2c25a06c48ef5c943a17a1977047f7942e9f7deb /engines/fullpipe
parent040d71bca56730c98632be2dcfef139b2e5ed39c (diff)
downloadscummvm-rg350-0046cefd4ec1d5cea62addfbb3a629a2cc50f243.tar.gz
scummvm-rg350-0046cefd4ec1d5cea62addfbb3a629a2cc50f243.tar.bz2
scummvm-rg350-0046cefd4ec1d5cea62addfbb3a629a2cc50f243.zip
FULLPIPE: Fix crash on mute
Diffstat (limited to 'engines/fullpipe')
-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 57d0ac5884..c9af9e85ae 100644
--- a/engines/fullpipe/sound.cpp
+++ b/engines/fullpipe/sound.cpp
@@ -521,7 +521,7 @@ void FullpipeEngine::stopAllSoundInstances(int id) {
void FullpipeEngine::updateSoundVolume() {
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)->setPanAndVolume(_sfxVolume, 0);
}
}