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_sequence_control.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_sequence_control.cpp')
-rw-r--r-- | engines/titanic/game/end_sequence_control.cpp | 4 |
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 55d3b2139e..52151f353e 100644 --- a/engines/titanic/game/end_sequence_control.cpp +++ b/engines/titanic/game/end_sequence_control.cpp @@ -61,7 +61,7 @@ bool CEndSequenceControl::TimerMsg(CTimerMsg *msg) { } bool CEndSequenceControl::MovieEndMsg(CMovieEndMsg *msg) { - setGlobalSoundVolume(-4, 2, -1); + setGlobalSoundVolume(VOL_MUTE, 2, -1); changeView("TheEnd.Node 3.N"); addTimer(2, 1000, 0); return true; @@ -71,7 +71,7 @@ bool CEndSequenceControl::EnterRoomMsg(CEnterRoomMsg *msg) { petHide(); disableMouse(); addTimer(1, 1000, 0); - playGlobalSound("a#15.wav", -1, true, true, 0, Audio::Mixer::kSpeechSoundType); + playGlobalSound("a#15.wav", VOL_NORMAL, true, true, 0, Audio::Mixer::kSpeechSoundType); return true; } |