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

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Sat Oct 4 13:10:25 CEST 2008


Revision: 34737
          http://scummvm.svn.sourceforge.net/scummvm/?rev=34737&view=rev
Author:   dreammaster
Date:     2008-10-04 11:10:25 +0000 (Sat, 04 Oct 2008)

Log Message:
-----------
Bugfix to prevent NPC characters managing to walk beyond room exits without leaving the room, and thus getting stuck

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

Modified: scummvm/trunk/engines/lure/hotspots.cpp
===================================================================
--- scummvm/trunk/engines/lure/hotspots.cpp	2008-10-03 18:23:57 UTC (rev 34736)
+++ scummvm/trunk/engines/lure/hotspots.cpp	2008-10-04 11:10:25 UTC (rev 34737)
@@ -2760,11 +2760,11 @@
 				// Walking done
 				h.currentActions().top().setAction(DISPATCH_ACTION);
 
-			if (h.destHotspotId() != 0) {
+//			if (h.destHotspotId() != 0) {
 				// Walking to an exit, check for any required room change
 				if (Support::checkRoomChange(h))
 					break;
-			}
+//			}
 		}
 
 		h.setOccupied(true);


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