[Scummvm-cvs-logs] SF.net SVN: scummvm:[45195] scummvm/trunk/engines/sci/gui/gui.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Sat Oct 17 19:46:48 CEST 2009


Revision: 45195
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45195&view=rev
Author:   m_kiewitz
Date:     2009-10-17 17:46:48 +0000 (Sat, 17 Oct 2009)

Log Message:
-----------
SCI/newgui: fix bug in kCanBeHere, fixes sq4 intro roger hanging not falling

Modified Paths:
--------------
    scummvm/trunk/engines/sci/gui/gui.cpp

Modified: scummvm/trunk/engines/sci/gui/gui.cpp
===================================================================
--- scummvm/trunk/engines/sci/gui/gui.cpp	2009-10-17 17:35:41 UTC (rev 45194)
+++ scummvm/trunk/engines/sci/gui/gui.cpp	2009-10-17 17:46:48 UTC (rev 45195)
@@ -588,7 +588,7 @@
 	signal = GET_SEL32V(curObject, signal);
 	controlMask = GET_SEL32V(curObject, illegalBits);
 	result = (_gfx->onControl(SCI_SCREEN_MASK_CONTROL, checkRect) & controlMask) ? false : true;
-	if ((result) && (signal & (SCI_ANIMATE_SIGNAL_IGNOREACTOR | SCI_ANIMATE_SIGNAL_REMOVEVIEW))) {
+	if ((result) && (signal & (SCI_ANIMATE_SIGNAL_IGNOREACTOR | SCI_ANIMATE_SIGNAL_REMOVEVIEW)) == 0) {
 		// FIXME: this seems to be causing problems when roger wilco falls down from time portal in the intro sequence
 		//  There must be a bug somewhere in here
 		List *list = _s->_segMan->lookupList(listReference);


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