*Move movementinform to finalize function to prevent error log spams.
--HG-- branch : trunk
This commit is contained in:
@@ -32,10 +32,10 @@ class TRINITY_DLL_SPEC PointMovementGenerator
|
||||
{
|
||||
public:
|
||||
PointMovementGenerator(uint32 _id, float _x, float _y, float _z) : id(_id),
|
||||
i_x(_x), i_y(_y), i_z(_z), i_nextMoveTime(0) {}
|
||||
i_x(_x), i_y(_y), i_z(_z), i_nextMoveTime(0), arrived(false) {}
|
||||
|
||||
void Initialize(T &);
|
||||
void Finalize(T &unit){unit.clearUnitState(UNIT_STAT_CHARGING);}
|
||||
void Finalize(T &unit);
|
||||
void Reset(T &unit){unit.StopMoving();}
|
||||
bool Update(T &, const uint32 &diff);
|
||||
|
||||
@@ -49,6 +49,7 @@ class TRINITY_DLL_SPEC PointMovementGenerator
|
||||
float i_x,i_y,i_z;
|
||||
uint32 id;
|
||||
DestinationHolder< Traveller<T> > i_destinationHolder;
|
||||
bool arrived;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user