aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/saga/interface.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/saga/interface.cpp b/engines/saga/interface.cpp
index f9f22161ec..e0ed80b074 100644
--- a/engines/saga/interface.cpp
+++ b/engines/saga/interface.cpp
@@ -534,13 +534,14 @@ bool Interface::processAscii(uint16 ascii) {
}
void Interface::setStatusText(const char *text, int statusColor) {
- assert(text != NULL);
- assert(strlen(text) < STATUS_TEXT_LEN);
// Disable the status text in IHNM when the chapter is 8
if (_vm->getGameType() == GType_IHNM && _vm->_scene->currentChapterNumber() == 8)
return;
+ assert(text != NULL);
+ assert(strlen(text) < STATUS_TEXT_LEN);
+
if (_vm->_render->getFlags() & (RF_PLACARD | RF_MAP))
return;