[Scummvm-cvs-logs] SF.net SVN: scummvm:[47299] scummvm/trunk/engines/sci/engine/kgraphics.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Thu Jan 14 21:53:37 CET 2010
Revision: 47299
http://scummvm.svn.sourceforge.net/scummvm/?rev=47299&view=rev
Author: m_kiewitz
Date: 2010-01-14 20:53:37 +0000 (Thu, 14 Jan 2010)
Log Message:
-----------
SCI: change on reanimate kDisposeWindow behaviour, fixes sq5 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-14 16:39:47 UTC (rev 47298)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp 2010-01-14 20:53:37 UTC (rev 47299)
@@ -922,7 +922,7 @@
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);
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