diff options
author | megamage <none@none> | 2008-12-30 18:10:11 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-12-30 18:10:11 -0600 |
commit | bf3f1877853041dcb86db0429d719adba77776a2 (patch) | |
tree | ce4fb2871be5153a7b70219c17e5d1f86c812ad0 /src/game/WaypointMovementGenerator.cpp | |
parent | d088021a507eadf0f985f2d6452bca8fc9714005 (diff) |
*Fix the bug of rockbiter.
--HG--
branch : trunk
Diffstat (limited to 'src/game/WaypointMovementGenerator.cpp')
-rw-r--r-- | src/game/WaypointMovementGenerator.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/WaypointMovementGenerator.cpp b/src/game/WaypointMovementGenerator.cpp index adc4345fdfc..50219bfb6f4 100644 --- a/src/game/WaypointMovementGenerator.cpp +++ b/src/game/WaypointMovementGenerator.cpp @@ -152,6 +152,7 @@ WaypointMovementGenerator<Creature>::Update(Creature &unit, const uint32 &diff) { if(StopedByPlayer) { + assert(node); InitTraveller(unit,node); i_destinationHolder.SetDestination(traveller, node.x, node.y, node.z); i_nextMoveTime.Reset(i_destinationHolder.GetTotalTravelTime()); |