aboutsummaryrefslogtreecommitdiff
path: root/src/game/RandomMovementGenerator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/RandomMovementGenerator.h')
-rw-r--r--src/game/RandomMovementGenerator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/RandomMovementGenerator.h b/src/game/RandomMovementGenerator.h
index 2825bc306a8..dd6e3a48283 100644
--- a/src/game/RandomMovementGenerator.h
+++ b/src/game/RandomMovementGenerator.h
@@ -38,7 +38,8 @@ class TRINITY_DLL_SPEC RandomMovementGenerator
void Finalize(T &) {}
void Reset(T &);
bool Update(T &, const uint32 &);
- void UpdateMapPosition(uint32 mapid, float &x ,float &y, float &z)
+ bool GetDestination(float &x, float &y, float &z) const;
+ void UpdateMapPosition(uint32 mapid, float &x ,float &y, float &z)
{
i_destinationHolder.GetLocationNow(mapid, x,y,z);
}