[Scummvm-cvs-logs] SF.net SVN: scummvm:[36121] scummvm/branches/branch-0-13-0/engines/lure/ hotspots.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Wed Jan 28 11:28:32 CET 2009
Revision: 36121
http://scummvm.svn.sourceforge.net/scummvm/?rev=36121&view=rev
Author: dreammaster
Date: 2009-01-28 10:28:32 +0000 (Wed, 28 Jan 2009)
Log Message:
-----------
Backport of bugfix to allow characters to start moving when some other object blocks their standing area
Modified Paths:
--------------
scummvm/branches/branch-0-13-0/engines/lure/hotspots.cpp
Modified: scummvm/branches/branch-0-13-0/engines/lure/hotspots.cpp
===================================================================
--- scummvm/branches/branch-0-13-0/engines/lure/hotspots.cpp 2009-01-28 10:27:14 UTC (rev 36120)
+++ scummvm/branches/branch-0-13-0/engines/lure/hotspots.cpp 2009-01-28 10:28:32 UTC (rev 36121)
@@ -2654,11 +2654,13 @@
break;
case START_WALKING:
- // Start the player walking to the given destination
+ // Start the character walking to the given destination
debugC(ERROR_DETAILED, kLureDebugAnimations,
"Hotspot standard character exec start walking => (%d,%d)",
h.destX(), h.destY());
+
+ h.setCoveredFlag(VB_INITIAL);
h.setOccupied(false);
pathFinder.reset(paths);
h.currentActions().top().setAction(PROCESSING_PATH);
@@ -2988,6 +2990,7 @@
case START_WALKING:
// Start the player walking to the given destination
+ h.setCoveredFlag(VB_INITIAL);
h.setOccupied(false);
// Reset the path finder / walking sequence
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