[Scummvm-cvs-logs] scummvm master -> 601918c9173ad5004a1fc1e282e4f288b52cbd2c

urukgit urukgit at users.noreply.github.com
Fri Oct 10 15:03:05 CEST 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
601918c917 CGE2: Fix bug #6733.


Commit: 601918c9173ad5004a1fc1e282e4f288b52cbd2c
    https://github.com/scummvm/scummvm/commit/601918c9173ad5004a1fc1e282e4f288b52cbd2c
Author: uruk (koppirnyo at gmail.com)
Date: 2014-10-10T15:02:29+02:00

Commit Message:
CGE2: Fix bug #6733.

The problem was that the engine used the SFX volume for later parts of speeches longer than one sound file.

Changed paths:
    engines/cge2/snail.cpp



diff --git a/engines/cge2/snail.cpp b/engines/cge2/snail.cpp
index 0bf6383..8e1ddf2 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;
 		}






More information about the Scummvm-git-logs mailing list