*Fix crash caused by Waypoint movement.
--HG-- branch : trunk
This commit is contained in:
@@ -100,8 +100,8 @@ WaypointMovementGenerator<Creature>::Initialize(Creature &u)
|
|||||||
StopedByPlayer = false;
|
StopedByPlayer = false;
|
||||||
if(!path_id)
|
if(!path_id)
|
||||||
path_id = u.GetWaypointPath();
|
path_id = u.GetWaypointPath();
|
||||||
/*i_currentNode = 0;
|
|
||||||
waypoints = WaypointMgr.GetPath(path_id);
|
waypoints = WaypointMgr.GetPath(path_id);
|
||||||
|
/*i_currentNode = 0;
|
||||||
if(waypoints && waypoints->size())
|
if(waypoints && waypoints->size())
|
||||||
{
|
{
|
||||||
Traveller<Creature> traveller(u);
|
Traveller<Creature> traveller(u);
|
||||||
|
|||||||
Reference in New Issue
Block a user