aboutsummaryrefslogtreecommitdiff
path: root/sword2/sound.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-12-29 15:30:10 +0000
committerTorbjörn Andersson2003-12-29 15:30:10 +0000
commitea39ef6d7dbc70198e7312770abe5ffd2000c530 (patch)
treead0a826aa5bdcfa082441e69fce79c1021869aae /sword2/sound.cpp
parente559a32323b6a3503aa5b2b301303773267e8c7d (diff)
downloadscummvm-rg350-ea39ef6d7dbc70198e7312770abe5ffd2000c530.tar.gz
scummvm-rg350-ea39ef6d7dbc70198e7312770abe5ffd2000c530.tar.bz2
scummvm-rg350-ea39ef6d7dbc70198e7312770abe5ffd2000c530.zip
The game sets its own DEMO variable, so we might as well check that one as
checking the GF_DEMO flag. (There's still one "unnecessary" reference to GF_DEMO in functions.cpp, but I plan on rewriting that function soon so I don't want to touch it right now.) svn-id: r12009
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 d621b236ed..22061969d6 100644
--- a/sword2/sound.cpp
+++ b/sword2/sound.cpp
@@ -361,7 +361,7 @@ int32 Logic::fnPlayMusic(int32 *params) {
// add the appropriate file extension & play it
- if (_vm->_features & GF_DEMO) {
+ if (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...