aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/kyra/kyra.cpp5
-rw-r--r--engines/kyra/sound.cpp6
2 files changed, 2 insertions, 9 deletions
diff --git a/engines/kyra/kyra.cpp b/engines/kyra/kyra.cpp
index 25b68fab1a..44e288db20 100644
--- a/engines/kyra/kyra.cpp
+++ b/engines/kyra/kyra.cpp
@@ -676,10 +676,7 @@ void KyraEngine::mainLoop() {
if (_deathHandler != 0xFF) {
_deathHandler = 0xFF;
snd_playWanderScoreViaMap(0, 1);
- // This causes a failed assert in playWanderScoreViaMap.
- //snd_playSoundEffect(49);
- // Playing the track directly instead.
- _sound->playTrack(29);
+ snd_playSoundEffect(49);
buttonMenuCallback(0);
}
diff --git a/engines/kyra/sound.cpp b/engines/kyra/sound.cpp
index bd1c3d464c..1b37c0a768 100644
--- a/engines/kyra/sound.cpp
+++ b/engines/kyra/sound.cpp
@@ -406,11 +406,7 @@ void KyraEngine::snd_playTheme(int file, int track) {
void KyraEngine::snd_playSoundEffect(int track) {
debugC(9, kDebugLevelMain | kDebugLevelSound, "KyraEngine::snd_playSoundEffect(%d)", track);
- if (track == 49) {
- snd_playWanderScoreViaMap(56, 1);
- } else {
- _sound->playSoundEffect(track);
- }
+ _sound->playSoundEffect(track);
}
void KyraEngine::snd_playWanderScoreViaMap(int command, int restart) {