From 601918c9173ad5004a1fc1e282e4f288b52cbd2c Mon Sep 17 00:00:00 2001 From: uruk Date: Fri, 10 Oct 2014 15:02:29 +0200 Subject: CGE2: Fix bug #6733. The problem was that the engine used the SFX volume for later parts of speeches longer than one sound file. --- engines/cge2/snail.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/cge2') diff --git a/engines/cge2/snail.cpp b/engines/cge2/snail.cpp index 0bf63839e9..8e1ddf2d9b 100644 --- a/engines/cge2/snail.cpp +++ b/engines/cge2/snail.cpp @@ -62,7 +62,7 @@ void CommandHandler::runCommand() { if (_vm->_fx->exist(_vm->_soundStat._ref[1], _vm->_soundStat._ref[0])) { int16 oldRepeat = _vm->_sound->getRepeat(); _vm->_sound->setRepeat(1); - _vm->_sound->play(Audio::Mixer::kSFXSoundType, _vm->_fx->load(_vm->_soundStat._ref[1], _vm->_soundStat._ref[0]), _vm->_sound->_smpinf._span); + _vm->_sound->play(Audio::Mixer::kSpeechSoundType, _vm->_fx->load(_vm->_soundStat._ref[1], _vm->_soundStat._ref[0]), _vm->_sound->_smpinf._span); _vm->_sound->setRepeat(oldRepeat); return; } -- cgit v1.2.3