aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2016-02-25 00:39:31 +0100
committerWillem Jan Palenstijn2016-02-27 14:21:23 +0100
commit77bb83cdfd7bb3836fe55ca1fef6247198437108 (patch)
treead3e2e6a1c1b3cf6f6b3f7b096c6bb1a7219987d /engines/sci
parentd803847ca1458d7caeaa2bd4bbffabe134e13ef4 (diff)
downloadscummvm-rg350-77bb83cdfd7bb3836fe55ca1fef6247198437108.tar.gz
scummvm-rg350-77bb83cdfd7bb3836fe55ca1fef6247198437108.tar.bz2
scummvm-rg350-77bb83cdfd7bb3836fe55ca1fef6247198437108.zip
SCI32: Update InfoFlagViewVisible from send_selector
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/vm.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp
index 5db3198864..66d9fee5fd 100644
--- a/engines/sci/engine/vm.cpp
+++ b/engines/sci/engine/vm.cpp
@@ -258,6 +258,10 @@ static void _exec_varselectors(EngineState *s) {
if (xs.argc) { // write?
*var = xs.variables_argp[1];
+#ifdef ENABLE_SCI32
+ updateInfoFlagViewVisible(s->_segMan->getObject(xs.addr.varp.obj), xs.addr.varp.varindex);
+#endif
+
} else // No, read
s->r_acc = *var;
}