diff options
author | Thanasis Antoniou | 2019-03-31 17:52:57 +0300 |
---|---|---|
committer | Thanasis Antoniou | 2019-03-31 17:53:57 +0300 |
commit | 29762a67317692016368489e252b2b4924bb0749 (patch) | |
tree | 629ec5dbfdf88a06fd17e0580d5c440608654e62 /engines/bladerunner/ui | |
parent | 62fc4c94bfd5b66fbfa444d686c5e86a84bea562 (diff) | |
download | scummvm-rg350-29762a67317692016368489e252b2b4924bb0749.tar.gz scummvm-rg350-29762a67317692016368489e252b2b4924bb0749.tar.bz2 scummvm-rg350-29762a67317692016368489e252b2b4924bb0749.zip |
BLADERUNNER: Fix no music at Dektora dance outtake
Also add constants for all music tracks
Diffstat (limited to 'engines/bladerunner/ui')
-rw-r--r-- | engines/bladerunner/ui/end_credits.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/bladerunner/ui/end_credits.cpp b/engines/bladerunner/ui/end_credits.cpp index 1e9a3acfad..cab3aa2dc8 100644 --- a/engines/bladerunner/ui/end_credits.cpp +++ b/engines/bladerunner/ui/end_credits.cpp @@ -26,6 +26,7 @@ #include "audio/mixer.h" #include "bladerunner/bladerunner.h" +#include "bladerunner/game_constants.h" #include "bladerunner/ambient_sounds.h" #include "bladerunner/audio_speech.h" #include "bladerunner/font.h" @@ -52,7 +53,7 @@ void EndCredits::show() { _vm->_ambientSounds->removeAllLoopingSounds(4); _vm->_audioSpeech->stopSpeech(); - _vm->_music->play(_vm->_gameInfo->getMusicTrack(17), 100, 0, 2, -1, 0, 3); + _vm->_music->play(_vm->_gameInfo->getMusicTrack(kMusicCredits), 100, 0, 2, -1, 0, 3); Font *fontBig = new Font(_vm); fontBig->open("TAHOMA24.FON", 640, 480, -1, 0, 0); |