*Fix a typo.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-26 16:32:20 -06:00
parent 07e2410ed8
commit b24cc17a4b

View File

@@ -41,7 +41,7 @@ WaypointMovementGenerator<Creature>::Initialize(Creature &u)
waypoints = WaypointMgr.GetPath(path_id);
if(waypoints && waypoints->size())
{
Traveller<Creature> traveller(unit);
Traveller<Creature> traveller(u);
node = *(waypoints->at(i_currentNode));
InitTraveller(u,node);
i_destinationHolder.SetDestination(traveller, node.x, node.y, node.z);