aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound_lok.cpp
diff options
context:
space:
mode:
authorFlorian Kagerer2009-11-14 22:51:35 +0000
committerFlorian Kagerer2009-11-14 22:51:35 +0000
commit9bd5e07d90ad5693d96a557d66c919cf3097d34b (patch)
treec8a2fe80e07126cb6e235951d29d32ea88daea68 /engines/kyra/sound_lok.cpp
parentb9b5511b3c5e916366c20e251461f217b679054e (diff)
downloadscummvm-rg350-9bd5e07d90ad5693d96a557d66c919cf3097d34b.tar.gz
scummvm-rg350-9bd5e07d90ad5693d96a557d66c919cf3097d34b.tar.bz2
scummvm-rg350-9bd5e07d90ad5693d96a557d66c919cf3097d34b.zip
KYRA: added kyra 1 pc98 static data to kyra.dat (intro forest sequence is still broken)
svn-id: r45906
Diffstat (limited to 'engines/kyra/sound_lok.cpp')
-rw-r--r--engines/kyra/sound_lok.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/sound_lok.cpp b/engines/kyra/sound_lok.cpp
index 8399e0cc51..3eeddf1ce3 100644
--- a/engines/kyra/sound_lok.cpp
+++ b/engines/kyra/sound_lok.cpp
@@ -36,7 +36,7 @@ void KyraEngine_LoK::snd_playSoundEffect(int track, int volume) {
track -= 16;
}
- if ((_flags.platform == Common::kPlatformFMTowns || _flags.platform == Common::kPlatformPC98) && track == 49) {
+ if (_flags.platform == Common::kPlatformFMTowns && track == 49) {
snd_playWanderScoreViaMap(56, 1);
return;
}
@@ -64,7 +64,7 @@ void KyraEngine_LoK::snd_playWanderScoreViaMap(int command, int restart) {
} else if (_flags.platform == Common::kPlatformPC98) {
if (command == 1) {
_sound->beginFadeOut();
- } else if (command >= 2) {
+ } else if (command >= 2 && command < 53 || command == 55) {
if (_lastMusicCommand != command)
_sound->playTrack(command);
} else {