diff options
author | Paul Gilbert | 2017-07-16 16:18:16 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-07-16 16:18:16 -0400 |
commit | 850dcdbdf8252b4f5dbc6812c0108d58f101534e (patch) | |
tree | 1f93fc02fe33d03def003a1b6a573d3a63f24f4f /engines/titanic/game/end_explode_ship.cpp | |
parent | d8eccdec323dfc1126b87624b73e7effcb2f50bb (diff) | |
download | scummvm-rg350-850dcdbdf8252b4f5dbc6812c0108d58f101534e.tar.gz scummvm-rg350-850dcdbdf8252b4f5dbc6812c0108d58f101534e.tar.bz2 scummvm-rg350-850dcdbdf8252b4f5dbc6812c0108d58f101534e.zip |
TITANIC: Add a VolumeMode enum
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 05220b9657..633e47e668 100644 --- a/engines/titanic/game/end_explode_ship.cpp +++ b/engines/titanic/game/end_explode_ship.cpp @@ -55,7 +55,7 @@ bool CEndExplodeShip::ActMsg(CActMsg *msg) { } else if (msg->_action == "TakeOff") { loadSound("a#31.wav"); loadSound("a#14.wav"); - playGlobalSound("a#13.wav", -1, true, true, 0); + playGlobalSound("a#13.wav", VOL_NORMAL, true, true, 0); addTimer(1, 10212, 0); } @@ -71,7 +71,7 @@ bool CEndExplodeShip::TimerMsg(CTimerMsg *msg) { } if (msg->_actionVal == 3) { - setGlobalSoundVolume(-4, 2, -1); + setGlobalSoundVolume(VOL_MUTE, 2, -1); CActMsg actMsg(_isExploding ? "ExplodeCredits" : "Credits"); actMsg.execute("EndGameCredits"); } |