From eb731514f7b27ca61b697ece0295dd79c29c141a Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 7 Apr 2011 01:09:52 +0200 Subject: 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. --- engines/kyra/kyra_mr.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'engines') 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; -- cgit v1.2.3