aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2009-04-21 11:26:19 +0000
committerJohannes Schickel2009-04-21 11:26:19 +0000
commitb01e82488d6c3252621bb64389df9a996581c9da (patch)
tree64cf6d6a2271a0b79b328cbb3478268a534fcccf /engines/kyra/sound.cpp
parentdadcc3289f76da1cd6a6ca7f80e781ea69b0a6be (diff)
downloadscummvm-rg350-b01e82488d6c3252621bb64389df9a996581c9da.tar.gz
scummvm-rg350-b01e82488d6c3252621bb64389df9a996581c9da.tar.bz2
scummvm-rg350-b01e82488d6c3252621bb64389df9a996581c9da.zip
Fix for Kyra 1 Mac CD music (check bug report #2772727 "KYRA1: Sound effect loops continuously (Mac CD)").
svn-id: r40039
Diffstat (limited to 'engines/kyra/sound.cpp')
-rw-r--r--engines/kyra/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/sound.cpp b/engines/kyra/sound.cpp
index 10c43b5637..4aacd40658 100644
--- a/engines/kyra/sound.cpp
+++ b/engines/kyra/sound.cpp
@@ -239,7 +239,7 @@ void KyraEngine_v1::snd_playWanderScoreViaMap(int command, int restart) {
// XXX
//}
- if (_flags.platform == Common::kPlatformPC) {
+ if (_flags.platform == Common::kPlatformPC || _flags.platform == Common::kPlatformMacintosh) {
assert(command*2+1 < _trackMapSize);
if (_curMusicTheme != _trackMap[command*2]) {
if (_trackMap[command*2] != -1 && _trackMap[command*2] != -2)