[Scummvm-cvs-logs] SF.net SVN: scummvm:[47341] scummvm/trunk/engines/sci/engine/kgraphics.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Sun Jan 17 14:07:50 CET 2010
Revision: 47341
http://scummvm.svn.sourceforge.net/scummvm/?rev=47341&view=rev
Author: m_kiewitz
Date: 2010-01-17 13:07:50 +0000 (Sun, 17 Jan 2010)
Log Message:
-----------
SCI: kDisposeWindow - use reanimate when argc == 1 (fixes iceman window removal)
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/kgraphics.cpp
Modified: scummvm/trunk/engines/sci/engine/kgraphics.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kgraphics.cpp 2010-01-17 11:24:29 UTC (rev 47340)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp 2010-01-17 13:07:50 UTC (rev 47341)
@@ -922,7 +922,7 @@
reg_t kDisposeWindow(EngineState *s, int argc, reg_t *argv) {
int goner_nr = argv[0].toSint16();
bool reanimate = false;
- if ((argc == 2) && (argv[1].isNull()))
+ if ((argc != 2) || (argv[1].isNull()))
reanimate = true;
s->_gui->disposeWindow(goner_nr, reanimate);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list