aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/end_explode_ship.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_explode_ship.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_explode_ship.cpp')
-rw-r--r--engines/titanic/game/end_explode_ship.cpp4
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");
}