diff options
author | Bastien Bouclet | 2017-07-12 07:10:59 +0200 |
---|---|---|
committer | Bastien Bouclet | 2017-07-15 18:07:58 +0200 |
commit | dd1fa0a36a7c4f69be892b915b4bae94655c8eb6 (patch) | |
tree | f08101848e3995ce381bd3caf94fee8eb0bd09d6 /engines/titanic/game/bomb.cpp | |
parent | 22201ba764214a766f39f2df4d536b10132c127a (diff) | |
download | scummvm-rg350-dd1fa0a36a7c4f69be892b915b4bae94655c8eb6.tar.gz scummvm-rg350-dd1fa0a36a7c4f69be892b915b4bae94655c8eb6.tar.bz2 scummvm-rg350-dd1fa0a36a7c4f69be892b915b4bae94655c8eb6.zip |
TITANIC: Fix incorrect calls to queueSound
The sound type was being passed in the balance parameter.
Diffstat (limited to 'engines/titanic/game/bomb.cpp')
-rw-r--r-- | engines/titanic/game/bomb.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/game/bomb.cpp b/engines/titanic/game/bomb.cpp index 93887ab7b1..a443327218 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; } |