diff options
author | Paul Gilbert | 2017-10-13 18:03:30 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-10-13 18:03:30 -0400 |
commit | c339e3261d84526e721d60d656cefeb0a27a9af9 (patch) | |
tree | 58d13333b6093814b5800e56111f2bba601ea058 /engines/titanic/game/end_explode_ship.cpp | |
parent | 1d8ccbe1eae59811c90d5a6a22870e97272e178d (diff) | |
download | scummvm-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_explode_ship.cpp')
-rw-r--r-- | engines/titanic/game/end_explode_ship.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/game/end_explode_ship.cpp b/engines/titanic/game/end_explode_ship.cpp index 5f90604fd7..5ad046b5ad 100644 --- a/engines/titanic/game/end_explode_ship.cpp +++ b/engines/titanic/game/end_explode_ship.cpp @@ -56,7 +56,7 @@ bool CEndExplodeShip::ActMsg(CActMsg *msg) { } else if (msg->_action == "TakeOff") { loadSound(TRANSLATE("a#31.wav", "a#26.wav")); loadSound(TRANSLATE("a#14.wav", "a#7.wav")); - playGlobalSound(TRANSLATE("a#13.wav", "a#6.wav"), VOL_NORMAL, true, true, 0); + playAmbientSound(TRANSLATE("a#13.wav", "a#6.wav"), VOL_NORMAL, true, true, 0); addTimer(1, 10212, 0); } @@ -72,7 +72,7 @@ bool CEndExplodeShip::TimerMsg(CTimerMsg *msg) { } if (msg->_actionVal == 3) { - setGlobalSoundVolume(VOL_MUTE, 2, -1); + setAmbientSoundVolume(VOL_MUTE, 2, -1); CActMsg actMsg(_isExploding ? "ExplodeCredits" : "Credits"); actMsg.execute("EndGameCredits"); } |