From 629194c0e080e27dc24a6b66dc4e40671d5f5efd Mon Sep 17 00:00:00 2001 From: Blaymoira Date: Tue, 24 Feb 2009 14:50:27 +0100 Subject: Backed out changeset: aee1fec2cb04 --HG-- branch : trunk --- src/game/RandomMovementGenerator.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/game/RandomMovementGenerator.h') diff --git a/src/game/RandomMovementGenerator.h b/src/game/RandomMovementGenerator.h index 9fba4d07326..a7105284ac6 100644 --- a/src/game/RandomMovementGenerator.h +++ b/src/game/RandomMovementGenerator.h @@ -30,8 +30,8 @@ class TRINITY_DLL_SPEC RandomMovementGenerator : public MovementGeneratorMedium< T, RandomMovementGenerator > { public: - // Wander dist is related on db spawn dist. So what if we wanna set random movement on summoned creature?! - RandomMovementGenerator(float spawn_dist = 0.0f) : i_nextMoveTime(0), wander_dist(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 Initialize(T &); @@ -48,7 +48,8 @@ class TRINITY_DLL_SPEC RandomMovementGenerator TimeTrackerSmall i_nextMoveTime; DestinationHolder< Traveller > i_destinationHolder; - float wander_dist, ground; - uint32 _InhabitType; + float wander_distance; + uint32 i_nextMove; }; #endif + -- cgit v1.2.3