aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2010-01-14 20:53:37 +0000
committerMartin Kiewitz2010-01-14 20:53:37 +0000
commitf1696ce7efe9be755a0e0f69bfbad210649a74c7 (patch)
tree1ae8c4119316a31b62a54d3a84fb7a901b053b4b /engines/sci
parent218d04afa127a110bec8056b74d96d77ec9c2680 (diff)
downloadscummvm-rg350-f1696ce7efe9be755a0e0f69bfbad210649a74c7.tar.gz
scummvm-rg350-f1696ce7efe9be755a0e0f69bfbad210649a74c7.tar.bz2
scummvm-rg350-f1696ce7efe9be755a0e0f69bfbad210649a74c7.zip
SCI: change on reanimate kDisposeWindow behaviour, fixes sq5 window removal
svn-id: r47299
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/kgraphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 42d0e1ba8c..0dae446b22 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -922,7 +922,7 @@ reg_t kDrawCel(EngineState *s, int argc, reg_t *argv) {
reg_t kDisposeWindow(EngineState *s, int argc, reg_t *argv) {
int goner_nr = argv[0].toSint16();
bool reanimate = true;
- if ((argc == 2) && (argv[1].isNull()))
+ if ((argc == 2) && (!argv[1].isNull()))
reanimate = false;
s->_gui->disposeWindow(goner_nr, reanimate);