aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen
diff options
context:
space:
mode:
authorPaul Gilbert2017-12-09 15:14:17 -0500
committerPaul Gilbert2017-12-09 15:14:17 -0500
commit7ed6b9cdfa2c17a7e236445d5d8aadcfbc846a39 (patch)
tree3009ac2758be7e40573ce9a36d3370d66fb7bb2f /engines/xeen
parent2ed494b8fede9c1cf1e574c096257fa8c4a0af0c (diff)
downloadscummvm-rg350-7ed6b9cdfa2c17a7e236445d5d8aadcfbc846a39.tar.gz
scummvm-rg350-7ed6b9cdfa2c17a7e236445d5d8aadcfbc846a39.tar.bz2
scummvm-rg350-7ed6b9cdfa2c17a7e236445d5d8aadcfbc846a39.zip
XEEN: Fix restoring UI movement buttons after showing dialog
Diffstat (limited to 'engines/xeen')
-rw-r--r--engines/xeen/scripts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp
index 37ddd1e7b7..f5d0c484fb 100644
--- a/engines/xeen/scripts.cpp
+++ b/engines/xeen/scripts.cpp
@@ -393,7 +393,7 @@ bool Scripts::cmdDisplay1(ParamsIterator &params) {
Common::String msg = Common::String::format("\r\x03""c%s", paramText.c_str());
windows[12].close();
- if (windows[38]._enabled)
+ if (!windows[38]._enabled)
windows[38].open();
windows[38].writeString(msg);
windows[38].update();