diff options
author | Eugene Sandulenko | 2016-10-16 23:25:38 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-10-16 23:25:38 +0200 |
commit | 5eb1da42c3e215ef852c0aae88d94624897c3f9b (patch) | |
tree | e418a9f189485779e600f6c5c25ced107e8eb85b /engines/fullpipe | |
parent | 7bd5ca57b291ea97fdcdd201ade6ac8111b37fcd (diff) | |
download | scummvm-rg350-5eb1da42c3e215ef852c0aae88d94624897c3f9b.tar.gz scummvm-rg350-5eb1da42c3e215ef852c0aae88d94624897c3f9b.tar.bz2 scummvm-rg350-5eb1da42c3e215ef852c0aae88d94624897c3f9b.zip |
FULLPIPE: Fix steps sounds
Diffstat (limited to 'engines/fullpipe')
-rw-r--r-- | engines/fullpipe/sound.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/fullpipe/sound.cpp b/engines/fullpipe/sound.cpp index e7432a62c4..cd6647177e 100644 --- a/engines/fullpipe/sound.cpp +++ b/engines/fullpipe/sound.cpp @@ -139,7 +139,7 @@ bool Sound::load(MfcArchive &file, NGIArchive *archive) { } void Sound::updateVolume() { - debug(9, "STUB Sound::updateVolume()"); + // not needed in our implementation } void Sound::setPanAndVolumeByStaticAni() { @@ -479,7 +479,8 @@ void global_messageHandler_handleSound(ExCommand *cmd) { Sound *snd = 0; for (int i = 0; i < g_fp->_currSoundListCount; i++) - snd = g_fp->_currSoundList1[i]->getSoundItemById(cmd->_messageNum); + if ((snd = g_fp->_currSoundList1[i]->getSoundItemById(cmd->_messageNum)) != NULL) + break; if (!snd) return; |