aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2010-01-14 20:56:46 +0000
committerMartin Kiewitz2010-01-14 20:56:46 +0000
commit69c1de90e4ee2ad9650ce40a6bd06a296494d160 (patch)
tree3577aed2e9674bc309d8af020e7d706e9dd16115 /engines
parentf1696ce7efe9be755a0e0f69bfbad210649a74c7 (diff)
downloadscummvm-rg350-69c1de90e4ee2ad9650ce40a6bd06a296494d160.tar.gz
scummvm-rg350-69c1de90e4ee2ad9650ce40a6bd06a296494d160.tar.bz2
scummvm-rg350-69c1de90e4ee2ad9650ce40a6bd06a296494d160.zip
SCI: another change to reanimate behaviour of kDisposeWindow
svn-id: r47300
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/kgraphics.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 0dae446b22..68fb8308d9 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -921,9 +921,9 @@ 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()))
- reanimate = false;
+ bool reanimate = false;
+ if ((argc == 2) && (argv[1].isNull()))
+ reanimate = true;
s->_gui->disposeWindow(goner_nr, reanimate);
return s->r_acc;