aboutsummaryrefslogtreecommitdiff
path: root/sword2/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/sound.cpp')
-rw-r--r--sword2/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/sound.cpp b/sword2/sound.cpp
index b807e5d895..0eb9457b39 100644
--- a/sword2/sound.cpp
+++ b/sword2/sound.cpp
@@ -368,7 +368,7 @@ int32 Logic::fnPlayMusic(int32 *params) {
// add the appropriate file extension & play it
- if (g_sword2->_gameId == GID_SWORD2_DEMO) {
+ if (g_sword2->_features & GF_DEMO) {
// The demo I found didn't come with any music file, but you
// could use the music from the first CD of the complete game,
// I suppose...