From 0046cefd4ec1d5cea62addfbb3a629a2cc50f243 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 11 Sep 2016 23:08:03 +0200 Subject: FULLPIPE: Fix crash on mute --- engines/fullpipe/sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/fullpipe') 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); } } -- cgit v1.2.3