aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-28 16:24:28 -0600
committermegamage <none@none>2008-12-28 16:24:28 -0600
commit7e85d91f696e6c73fb4d94f24330fb380e725a77 (patch)
tree034cac536279c5a5636fcee271754ce45db561f3 /src
parentac00498f884b596d0ba8940a61ace9b9bacc39a5 (diff)
*Fix crash caused by Waypoint movement.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/WaypointMovementGenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/WaypointMovementGenerator.cpp b/src/game/WaypointMovementGenerator.cpp
index 589afa088c3..adc4345fdfc 100644
--- a/src/game/WaypointMovementGenerator.cpp
+++ b/src/game/WaypointMovementGenerator.cpp
@@ -100,8 +100,8 @@ WaypointMovementGenerator<Creature>::Initialize(Creature &u)
StopedByPlayer = false;
if(!path_id)
path_id = u.GetWaypointPath();
- /*i_currentNode = 0;
waypoints = WaypointMgr.GetPath(path_id);
+ /*i_currentNode = 0;
if(waypoints && waypoints->size())
{
Traveller<Creature> traveller(u);