[Scummvm-cvs-logs] SF.net SVN: scummvm: [29746] scummvm/trunk/engines/lure/hotspots.cpp

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Fri Dec 7 13:01:44 CET 2007


Revision: 29746
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29746&view=rev
Author:   dreammaster
Date:     2007-12-07 04:01:44 -0800 (Fri, 07 Dec 2007)

Log Message:
-----------
Bugfix so player will move out of the way if he's blocking an entrance a character is entering by

Modified Paths:
--------------
    scummvm/trunk/engines/lure/hotspots.cpp

Modified: scummvm/trunk/engines/lure/hotspots.cpp
===================================================================
--- scummvm/trunk/engines/lure/hotspots.cpp	2007-12-07 10:17:58 UTC (rev 29745)
+++ scummvm/trunk/engines/lure/hotspots.cpp	2007-12-07 12:01:44 UTC (rev 29746)
@@ -2635,7 +2635,8 @@
 			 
 			if (h.destHotspotId() != 0) {
 				// Walking to an exit, check for any required room change
-				Support::checkRoomChange(h);
+				if (Support::checkRoomChange(h))
+					break;
 			}
 		}
 


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