*Fix a crash bug caused by motionmaster.

*Fix charge movement.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-01-17 17:46:28 -06:00
parent ff3157eeb3
commit 9f1409c557
12 changed files with 81 additions and 106 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ class TRINITY_DLL_SPEC PointMovementGenerator
i_x(_x), i_y(_y), i_z(_z), i_nextMoveTime(0) {}
void Initialize(T &);
void Finalize(T &){}
void Finalize(T &unit){unit.clearUnitState(UNIT_STAT_CHARGING);}
void Reset(T &unit){unit.StopMoving();}
bool Update(T &, const uint32 &diff);