aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
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;