diff options
author | megamage <none@none> | 2009-06-19 11:19:23 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-06-19 11:19:23 -0500 |
commit | 15a753351cecac54ed6f7d4dd43c9b7074eaa069 (patch) | |
tree | 82ade1a023865cf4b6664650b9d5802391f9960d /src/game/WaypointMovementGenerator.cpp | |
parent | b86ef4c3a8cf46eba6b1f259e0dfc98c0cdd918d (diff) |
*Fix or add debug message for crash caused by controlled creatures
--HG--
branch : trunk
Diffstat (limited to 'src/game/WaypointMovementGenerator.cpp')
-rw-r--r-- | src/game/WaypointMovementGenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/WaypointMovementGenerator.cpp b/src/game/WaypointMovementGenerator.cpp index cef7fd8d596..34be9d3179b 100644 --- a/src/game/WaypointMovementGenerator.cpp +++ b/src/game/WaypointMovementGenerator.cpp @@ -202,7 +202,7 @@ WaypointMovementGenerator<Creature>::Update(Creature &unit, const uint32 &diff) MovementInform(unit); unit.UpdateWaypointID(i_currentNode); - unit.clearUnitState(UNIT_STAT_MOVING); + unit.clearUnitState(UNIT_STAT_ROAMING); unit.Relocate(node->x, node->y, node->z); } } |