aboutsummaryrefslogtreecommitdiff
path: root/sword2/anims.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/anims.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/anims.cpp')
-rw-r--r--sword2/anims.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/anims.cpp b/sword2/anims.cpp
index fe57177af8..012fd87387 100644
--- a/sword2/anims.cpp
+++ b/sword2/anims.cpp
@@ -714,7 +714,7 @@ int32 Logic::fnPlaySequence(int32 *params) {
MoviePlayer player(_vm);
- if (_sequenceTextLines && !(_vm->_features & GF_DEMO))
+ if (_sequenceTextLines && !DEMO)
rv = player.play(filename, sequenceSpeechArray, leadOut);
else
rv = player.play(filename, NULL, leadOut);