[Scummvm-cvs-logs] SF.net SVN: scummvm: [30385] scummvm/branches/branch-0-11-0/engines/lure/ hotspots.cpp

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Thu Jan 10 22:29:43 CET 2008


Revision: 30385
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30385&view=rev
Author:   dreammaster
Date:     2008-01-10 13:29:42 -0800 (Thu, 10 Jan 2008)

Log Message:
-----------
Fix to npcWalkingCheck to pass the correct hotspot id to characterWalkingCheck

Modified Paths:
--------------
    scummvm/branches/branch-0-11-0/engines/lure/hotspots.cpp

Modified: scummvm/branches/branch-0-11-0/engines/lure/hotspots.cpp
===================================================================
--- scummvm/branches/branch-0-11-0/engines/lure/hotspots.cpp	2008-01-10 21:28:59 UTC (rev 30384)
+++ scummvm/branches/branch-0-11-0/engines/lure/hotspots.cpp	2008-01-10 21:29:42 UTC (rev 30385)
@@ -2028,7 +2028,7 @@
 	fields.setField(ACTIVE_HOTSPOT_ID, hId);
 
 	if ((hId < PLAYER_ID) || (hotspot->roomNumber == _roomNumber)) {
-		characterWalkingCheck(hotspot->hotspotId);
+		characterWalkingCheck(hId);
 	}
 }
 


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