[Scummvm-git-logs] scummvm master -> dd1fa0a36a7c4f69be892b915b4bae94655c8eb6
bgK
bastien.bouclet at gmail.com
Sat Jul 15 18:08:36 CEST 2017
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:
dd1fa0a36a TITANIC: Fix incorrect calls to queueSound
Commit: dd1fa0a36a7c4f69be892b915b4bae94655c8eb6
https://github.com/scummvm/scummvm/commit/dd1fa0a36a7c4f69be892b915b4bae94655c8eb6
Author: Bastien Bouclet (bastien.bouclet at gmail.com)
Date: 2017-07-15T18:07:58+02:00
Commit Message:
TITANIC: Fix incorrect calls to queueSound
The sound type was being passed in the balance parameter.
Changed paths:
engines/titanic/game/bomb.cpp
diff --git a/engines/titanic/game/bomb.cpp b/engines/titanic/game/bomb.cpp
index 93887ab..a443327 100644
--- a/engines/titanic/game/bomb.cpp
+++ b/engines/titanic/game/bomb.cpp
@@ -158,7 +158,7 @@ bool CBomb::StatusChangeMsg(CStatusChangeMsg *msg) {
break;
}
- _soundHandle = queueSound(name, _soundHandle, _volume, Audio::Mixer::kSpeechSoundType);
+ _soundHandle = queueSound(name, _soundHandle, _volume, 0, false, Audio::Mixer::kSpeechSoundType);
}
return true;
@@ -200,7 +200,7 @@ bool CBomb::MouseButtonDownMsg(CMouseButtonDownMsg *msg) {
break;
}
- _soundHandle = queueSound(name, _soundHandle, _volume, Audio::Mixer::kSpeechSoundType);
+ _soundHandle = queueSound(name, _soundHandle, _volume, 0, false, Audio::Mixer::kSpeechSoundType);
_countdown = 999;
}
} else {
@@ -257,7 +257,7 @@ bool CBomb::ActMsg(CActMsg *msg) {
break;
}
- _soundHandle = queueSound(name, _soundHandle, _volume, Audio::Mixer::kSpeechSoundType);
+ _soundHandle = queueSound(name, _soundHandle, _volume, 0, false, Audio::Mixer::kSpeechSoundType);
_countdown = 999;
}
More information about the Scummvm-git-logs
mailing list