mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
Changed the check for the status bar in IHNM to match the original, removed a relevant hack
svn-id: r26802
This commit is contained in:
parent
1880c8739b
commit
ff7d48f582
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user