aboutsummaryrefslogtreecommitdiff
path: root/src/game/RandomMovementGenerator.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-24 21:14:00 -0600
committermegamage <none@none>2009-02-24 21:14:00 -0600
commit5fda4992661583d7b3cf26ff50dc1b3d8ceedf26 (patch)
tree3aecfaae1a4d0faf9294497cba6103f307403569 /src/game/RandomMovementGenerator.h
parent65a933c6c15faa9c4243aa729f42b2c458f0c9ea (diff)
parent8770a90bc6389d123a2716079bde40f43fc26357 (diff)
*Merge.
--HG-- branch : trunk
Diffstat (limited to 'src/game/RandomMovementGenerator.h')
-rw-r--r--src/game/RandomMovementGenerator.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/game/RandomMovementGenerator.h b/src/game/RandomMovementGenerator.h
index 62370ab05fd..20afe23d375 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 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<T> > i_destinationHolder;
- float wander_dist, ground;
- uint32 _InhabitType;
+ float wander_distance;
+ uint32 i_nextMove;
};
#endif
+