aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen
diff options
context:
space:
mode:
authorPaul Gilbert2017-12-29 20:57:21 -0500
committerPaul Gilbert2017-12-29 20:57:21 -0500
commit9d336539b777fba380e980e0836d50d15b5e6704 (patch)
tree0284d5d7b604652f57173d441f0938b7f81b2da7 /engines/xeen
parent7b7a23a6e77e71e621fb152656cdbb19935a02c9 (diff)
downloadscummvm-rg350-9d336539b777fba380e980e0836d50d15b5e6704.tar.gz
scummvm-rg350-9d336539b777fba380e980e0836d50d15b5e6704.tar.bz2
scummvm-rg350-9d336539b777fba380e980e0836d50d15b5e6704.zip
XEEN: Close open windows after opcode calls to cmdGiveMulti
Diffstat (limited to 'engines/xeen')
-rw-r--r--engines/xeen/scripts.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp
index ac08c1d9f9..74b7eb3f5c 100644
--- a/engines/xeen/scripts.cpp
+++ b/engines/xeen/scripts.cpp
@@ -876,6 +876,7 @@ bool Scripts::cmdGiveMulti(ParamsIterator &params) {
int modes[3];
uint32 vals[3];
+ _refreshIcons = true;
for (int idx = 0; idx < 3; ++idx) {
modes[idx] = params.readByte();
switch (modes[idx]) {