Skip to content

Commit

Permalink
FULLPIPE: Fix steps sounds
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Oct 16, 2016
1 parent 7bd5ca5 commit 5eb1da4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions engines/fullpipe/sound.cpp
Expand Up @@ -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() {
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 5eb1da4

Please sign in to comment.