diff options
author | uruk | 2014-10-10 15:02:29 +0200 |
---|---|---|
committer | uruk | 2014-10-10 15:02:29 +0200 |
commit | 601918c9173ad5004a1fc1e282e4f288b52cbd2c (patch) | |
tree | ffecf82edd7c5a9f97d064f873d382f474ba11f4 /engines/cge2 | |
parent | 3899532440d2d532fda60cc6fb8568e1e6d9eeb3 (diff) | |
download | scummvm-rg350-601918c9173ad5004a1fc1e282e4f288b52cbd2c.tar.gz scummvm-rg350-601918c9173ad5004a1fc1e282e4f288b52cbd2c.tar.bz2 scummvm-rg350-601918c9173ad5004a1fc1e282e4f288b52cbd2c.zip |
CGE2: Fix bug #6733.
The problem was that the engine used the SFX volume for later parts of speeches longer than one sound file.
Diffstat (limited to 'engines/cge2')
-rw-r--r-- | engines/cge2/snail.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |