aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2007-07-28 00:33:09 +0000
committerFilippos Karapetis2007-07-28 00:33:09 +0000
commitac101f0d6aadee61f154512016b51c9da84eb890 (patch)
tree05479bcc8847f876003ed019cf45205a2d857a6b
parentee485afa89436ae01f5afbfadd937beb05bac8ff (diff)
downloadscummvm-rg350-ac101f0d6aadee61f154512016b51c9da84eb890.tar.gz
scummvm-rg350-ac101f0d6aadee61f154512016b51c9da84eb890.tar.bz2
scummvm-rg350-ac101f0d6aadee61f154512016b51c9da84eb890.zip
Disable the status text in the IHNM demo
svn-id: r28251
-rw-r--r--engines/saga/interface.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/saga/interface.cpp b/engines/saga/interface.cpp
index 5d93807da1..423c187450 100644
--- a/engines/saga/interface.cpp
+++ b/engines/saga/interface.cpp
@@ -656,6 +656,10 @@ void Interface::setStatusText(const char *text, int statusColor) {
if (_vm->getGameType() == GType_IHNM && _vm->_scene->currentChapterNumber() == 8)
return;
+ // Disable the status text in the IHNM demo
+ if (_vm->getGameId() == GID_IHNM_DEMO)
+ return;
+
assert(text != NULL);
assert(strlen(text) < STATUS_TEXT_LEN);