aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/wage/gui.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp
index 3591000edb..4c848963aa 100644
--- a/engines/wage/gui.cpp
+++ b/engines/wage/gui.cpp
@@ -238,12 +238,14 @@ void Gui::draw() {
return;
}
- if (_scene != _engine->_world->_player->_currentScene || _sceneDirty) {
+ if (_sceneIsActive) {
+ drawConsole();
drawScene();
+ } else {
+ drawScene();
+ drawConsole();
}
- drawConsole();
-
if (_menuDirty)
_menu->render();
@@ -262,6 +264,9 @@ void Gui::draw() {
}
void Gui::drawScene() {
+ if (_scene == _engine->_world->_player->_currentScene && !_sceneDirty)
+ return;
+
_scene = _engine->_world->_player->_currentScene;
drawDesktop();