SCUMM: Use correct sound type for digital sfx.

This makes sure that digital sfx in pre digital iMuse games are using the SFX
sound type rather than the speech sound type. This allows proper volume
control.
This commit is contained in:
Johannes Schickel 2014-07-23 02:39:51 +02:00
parent be9c3bf72b
commit e57e16e295

View File

@ -657,10 +657,14 @@ void Sound::startTalkSound(uint32 offset, uint32 b, int mode, Audio::SoundHandle
//_vm->_imuseDigital->stopSound(kTalkSoundID);
_vm->_imuseDigital->startVoice(kTalkSoundID, input);
#endif
} else {
if (mode == 1) {
_mixer->playStream(Audio::Mixer::kSFXSoundType, handle, input, id);
} else {
_mixer->playStream(Audio::Mixer::kSpeechSoundType, handle, input, id);
}
}
}
}
void Sound::stopTalkSound() {