aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/res_snd.cpp
diff options
context:
space:
mode:
authorTravis Howell2008-03-22 09:46:25 +0000
committerTravis Howell2008-03-22 09:46:25 +0000
commit63b1de562801d93919a3241c3525466d2a24754f (patch)
treec653a65a6caebed82184a60f92d80e43c9b8f307 /engines/agos/res_snd.cpp
parent07bb52b78e08c5ba66e58644b81f8186c1ef1e94 (diff)
downloadscummvm-rg350-63b1de562801d93919a3241c3525466d2a24754f.tar.gz
scummvm-rg350-63b1de562801d93919a3241c3525466d2a24754f.tar.bz2
scummvm-rg350-63b1de562801d93919a3241c3525466d2a24754f.zip
Add support for room states in Waxworks (DOS).
svn-id: r31218
Diffstat (limited to 'engines/agos/res_snd.cpp')
-rw-r--r--engines/agos/res_snd.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/agos/res_snd.cpp b/engines/agos/res_snd.cpp
index 738de98342..091a254fbc 100644
--- a/engines/agos/res_snd.cpp
+++ b/engines/agos/res_snd.cpp
@@ -285,6 +285,10 @@ void AGOSEngine_Simon1::playMusic(uint16 music, uint16 track) {
void AGOSEngine::playMusic(uint16 music, uint16 track) {
stopMusic();
+ // FIXME: Music too unstable, when switching locations.
+ if (getPlatform() == Common::kPlatformPC && getGameType() == GType_WW)
+ return;
+
if (getPlatform() == Common::kPlatformAmiga) {
playModule(music);
} else if (getPlatform() == Common::kPlatformAtariST) {