*Fix crash caused by Waypoint movement.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-28 16:24:28 -06:00
parent ac00498f88
commit 7e85d91f69
+1 -1
View File
@@ -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);