diff options
author | Johannes Schickel | 2011-04-07 01:09:52 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-04-07 01:09:52 +0200 |
commit | eb731514f7b27ca61b697ece0295dd79c29c141a (patch) | |
tree | c107d448396c2887d7cdec2328f68fb673501e39 | |
parent | f19e2019b8e86f9fe4c95296428a7b31417666ac (diff) | |
download | scummvm-rg350-eb731514f7b27ca61b697ece0295dd79c29c141a.tar.gz scummvm-rg350-eb731514f7b27ca61b697ece0295dd79c29c141a.tar.bz2 scummvm-rg350-eb731514f7b27ca61b697ece0295dd79c29c141a.zip |
KYRA: Slight cleanup.
This more or less silently fixes the silent music introduced with f19e201, by
me setting volume to "true" instead of "255". Whoops.
-rw-r--r-- | engines/kyra/kyra_mr.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/kyra/kyra_mr.cpp b/engines/kyra/kyra_mr.cpp index 2c948182c0..fee7835881 100644 --- a/engines/kyra/kyra_mr.cpp +++ b/engines/kyra/kyra_mr.cpp @@ -426,9 +426,7 @@ void KyraEngine_MR::snd_playWanderScoreViaMap(int track, int force) { if (_musicSoundChannel == -1) { assert(track < _soundListSize && track >= 0); - char file[13]; - sprintf(file, "%s", _soundList[track]); - _musicSoundChannel = _soundDigital->playSound(file, 0xFF, Audio::Mixer::kMusicSoundType, true); + _musicSoundChannel = _soundDigital->playSound(_soundList[track], 0xFF, Audio::Mixer::kMusicSoundType, 255, true); } _lastMusicCommand = track; |