diff options
author | Filippos Karapetis | 2007-05-11 13:10:13 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-05-11 13:10:13 +0000 |
commit | ff7d48f582eb9dd3ddeb05649cf1a9f780baf17d (patch) | |
tree | cec0e49fe79eb938dad33beb760d646076bbef78 /engines/saga | |
parent | 1880c8739b3ccce65dc709cf1db67a9068270c89 (diff) | |
download | scummvm-rg350-ff7d48f582eb9dd3ddeb05649cf1a9f780baf17d.tar.gz scummvm-rg350-ff7d48f582eb9dd3ddeb05649cf1a9f780baf17d.tar.bz2 scummvm-rg350-ff7d48f582eb9dd3ddeb05649cf1a9f780baf17d.zip |
Changed the check for the status bar in IHNM to match the original, removed a relevant hack
svn-id: r26802
Diffstat (limited to 'engines/saga')
-rw-r--r-- | engines/saga/interface.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/engines/saga/interface.cpp b/engines/saga/interface.cpp index 19a68d70a4..2d15db80ee 100644 --- a/engines/saga/interface.cpp +++ b/engines/saga/interface.cpp @@ -536,8 +536,8 @@ 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 main panel is not shown (i.e. when the screen is full) - if (_vm->getGameType() == GType_IHNM && !(_panelMode == kPanelMain || _panelMode == kPanelMap)) + // Disable the status text in IHNM when the chapter is 8 + if (_vm->getGameType() == GType_IHNM && _vm->_scene->currentChapterNumber() == 8) return; if (_vm->_render->getFlags() & (RF_PLACARD | RF_MAP)) @@ -1524,15 +1524,12 @@ void Interface::drawStatusBar() { int stringWidth; int color; - if (_panelMode == kPanelChapterSelection) + // Disable the status text in IHNM when the chapter is 8 + if (_vm->getGameType() == GType_IHNM && _vm->_scene->currentChapterNumber() == 8) return; backBuffer = _vm->_gfx->getBackBuffer(); - // Disable the status bar in IHNM when the main panel is not shown (i.e. when the screen is full) - if (_vm->getGameType() == GType_IHNM && !(_panelMode == kPanelMain || _panelMode == kPanelMap)) - return; - // Erase background of status bar rect.left = _vm->getDisplayInfo().statusXOffset; rect.top = _vm->getDisplayInfo().statusYOffset; |