aboutsummaryrefslogtreecommitdiff
path: root/sword2/maketext.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/maketext.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/maketext.cpp')
-rw-r--r--sword2/maketext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/maketext.cpp b/sword2/maketext.cpp
index 5eaaabe1ef..1b3e84b0cd 100644
--- a/sword2/maketext.cpp
+++ b/sword2/maketext.cpp
@@ -576,7 +576,7 @@ void Sword2Engine::initialiseFontResourceFlags(void) {
// Get the text line - skip the 2 chars containing the wavId
- if (_features & GF_DEMO)
+ if (DEMO)
textLine = fetchTextLine(textFile, 451) + 2;
else
textLine = fetchTextLine(textFile, 54) + 2;