aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hdb/menu.cpp')
-rw-r--r--engines/hdb/menu.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/hdb/menu.cpp b/engines/hdb/menu.cpp
index 537035bcb3..9c36c9bd02 100644
--- a/engines/hdb/menu.cpp
+++ b/engines/hdb/menu.cpp
@@ -687,15 +687,15 @@ void Menu::drawMenu() {
g_hdb->_gfx->draw3DStars();
drawNebula();
- if (_quitActive == 2) { // XXXX
+ if (_quitActive == 3 || !g_hdb->isDemo()) {
+ if (!_quitScreen)
+ _quitScreen = g_hdb->_gfx->loadPic(PIC_QUITSCREEN);
+ _quitScreen->drawMasked(kQuitX, kQuitY);
+ } else if (_quitActive == 2) { // XXXX
_screenshots1gfx->drawMasked(kQuitX, kQuitY);
_screenshots2gfx->drawMasked(kQuitX, kScreenHeight - _screenshots2gfx->_height);
} else if (_quitActive == 1) {
_screenshots1agfx->drawMasked(kQuitX, kQuitY);
- } else if (_quitActive == 3 || !g_hdb->isDemo()) {
- if (!_quitScreen)
- _quitScreen = g_hdb->_gfx->loadPic(PIC_QUITSCREEN);
- _quitScreen->drawMasked(kQuitX, kQuitY);
}
}
}