diff options
author | Martin Kiewitz | 2010-01-14 20:53:37 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-01-14 20:53:37 +0000 |
commit | f1696ce7efe9be755a0e0f69bfbad210649a74c7 (patch) | |
tree | 1ae8c4119316a31b62a54d3a84fb7a901b053b4b /engines/sci | |
parent | 218d04afa127a110bec8056b74d96d77ec9c2680 (diff) | |
download | scummvm-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.cpp | 2 |
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); |