diff options
Diffstat (limited to 'src/game/RandomMovementGenerator.h')
-rw-r--r-- | src/game/RandomMovementGenerator.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game/RandomMovementGenerator.h b/src/game/RandomMovementGenerator.h index dcc03dfa721..ed34b96f608 100644 --- a/src/game/RandomMovementGenerator.h +++ b/src/game/RandomMovementGenerator.h @@ -30,16 +30,16 @@ class TRINITY_DLL_SPEC RandomMovementGenerator : public MovementGeneratorMedium< T, RandomMovementGenerator<T> > { public: - // Wander dist is related on db spawn dist. So what if we wanna set eandom movement on summoned creature?! - RandomMovementGenerator(float spawn_dist = 0.0f) : i_nextMoveTime(0), wander_distance(spawn_dist) {} + // Wander dist is related on db spawn dist. So what if we wanna set eandom movement on summoned creature?! + RandomMovementGenerator(float spawn_dist = 0.0f) : i_nextMoveTime(0), wander_distance(spawn_dist) {} - void _setRandomLocation(T &); + void _setRandomLocation(T &); void Initialize(T &); void Finalize(T &); void Reset(T &); bool Update(T &, const uint32 &); bool GetDestination(float &x, float &y, float &z) const; - void UpdateMapPosition(uint32 mapid, float &x ,float &y, float &z) + void UpdateMapPosition(uint32 mapid, float &x ,float &y, float &z) { i_destinationHolder.GetLocationNow(mapid, x,y,z); } @@ -49,6 +49,6 @@ class TRINITY_DLL_SPEC RandomMovementGenerator DestinationHolder< Traveller<T> > i_destinationHolder; float wander_distance; - uint32 i_nextMove; + uint32 i_nextMove; }; #endif |