diff options
author | Blaymoira <none@none> | 2009-02-21 15:26:10 +0100 |
---|---|---|
committer | Blaymoira <none@none> | 2009-02-21 15:26:10 +0100 |
commit | 1fb63e8bfd4466b90cedbfc6e6bc28dd58f34192 (patch) | |
tree | 7f53b3ed35affc3ba9d2fa2cb6313b188aa2bbea /src/game/RandomMovementGenerator.h | |
parent | 0ad8bd98c5ab32182f0148d2bc451e76b16b9523 (diff) |
*Cleanups in random movementgenerator - by Silver1ce
--HG--
branch : trunk
Diffstat (limited to 'src/game/RandomMovementGenerator.h')
-rw-r--r-- | src/game/RandomMovementGenerator.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/game/RandomMovementGenerator.h b/src/game/RandomMovementGenerator.h index a7105284ac6..9fba4d07326 100644 --- a/src/game/RandomMovementGenerator.h +++ b/src/game/RandomMovementGenerator.h @@ -30,8 +30,8 @@ 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 random movement on summoned creature?! + RandomMovementGenerator(float spawn_dist = 0.0f) : i_nextMoveTime(0), wander_dist(spawn_dist) {} void _setRandomLocation(T &); void Initialize(T &); @@ -48,8 +48,7 @@ class TRINITY_DLL_SPEC RandomMovementGenerator TimeTrackerSmall i_nextMoveTime; DestinationHolder< Traveller<T> > i_destinationHolder; - float wander_distance; - uint32 i_nextMove; + float wander_dist, ground; + uint32 _InhabitType; }; #endif - |