[Scummvm-cvs-logs] SF.net SVN: scummvm: [28444] scummvm/trunk/engines/parallaction/commands. cpp

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Sat Aug 4 11:43:28 CEST 2007


Revision: 28444
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28444&view=rev
Author:   peres001
Date:     2007-08-04 02:43:28 -0700 (Sat, 04 Aug 2007)

Log Message:
-----------
Fixed broken implementation of Close command.

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/commands.cpp

Modified: scummvm/trunk/engines/parallaction/commands.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/commands.cpp	2007-08-04 09:40:51 UTC (rev 28443)
+++ scummvm/trunk/engines/parallaction/commands.cpp	2007-08-04 09:43:28 UTC (rev 28444)
@@ -274,6 +274,9 @@
 
 		case CMD_CLOSE: // close
 			u->_zone->_flags |= kFlagsClosed;
+			if (u->_zone->u.door->_cnv) {
+				addJob(&jobToggleDoor, (void*)u->_zone, kPriority18 );
+			}
 			break;
 
 		case CMD_ON:	// on


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