aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/end_sequence_control.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2017-10-13 18:03:30 -0400
committerPaul Gilbert2017-10-13 18:03:30 -0400
commitc339e3261d84526e721d60d656cefeb0a27a9af9 (patch)
tree58d13333b6093814b5800e56111f2bba601ea058 /engines/titanic/game/end_sequence_control.cpp
parent1d8ccbe1eae59811c90d5a6a22870e97272e178d (diff)
downloadscummvm-rg350-c339e3261d84526e721d60d656cefeb0a27a9af9.tar.gz
scummvm-rg350-c339e3261d84526e721d60d656cefeb0a27a9af9.tar.bz2
scummvm-rg350-c339e3261d84526e721d60d656cefeb0a27a9af9.zip
TITANIC: Renamed GlobalSound methods to AmbientSound
Diffstat (limited to 'engines/titanic/game/end_sequence_control.cpp')
-rw-r--r--engines/titanic/game/end_sequence_control.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/game/end_sequence_control.cpp b/engines/titanic/game/end_sequence_control.cpp
index e8bc04aa85..a7abf01da0 100644
--- a/engines/titanic/game/end_sequence_control.cpp
+++ b/engines/titanic/game/end_sequence_control.cpp
@@ -62,7 +62,7 @@ bool CEndSequenceControl::TimerMsg(CTimerMsg *msg) {
}
bool CEndSequenceControl::MovieEndMsg(CMovieEndMsg *msg) {
- setGlobalSoundVolume(VOL_MUTE, 2, -1);
+ setAmbientSoundVolume(VOL_MUTE, 2, -1);
changeView("TheEnd.Node 3.N");
addTimer(2, 1000, 0);
return true;
@@ -72,7 +72,7 @@ bool CEndSequenceControl::EnterRoomMsg(CEnterRoomMsg *msg) {
petHide();
disableMouse();
addTimer(1, 1000, 0);
- playGlobalSound(TRANSLATE("a#15.wav", "a#8.wav"), VOL_NORMAL, true, true, 0, Audio::Mixer::kSpeechSoundType);
+ playAmbientSound(TRANSLATE("a#15.wav", "a#8.wav"), VOL_NORMAL, true, true, 0, Audio::Mixer::kSpeechSoundType);
return true;
}