diff --git a/src/game/WaypointMovementGenerator.h b/src/game/WaypointMovementGenerator.h index cc552d974..2ee893fb4 100644 --- a/src/game/WaypointMovementGenerator.h +++ b/src/game/WaypointMovementGenerator.h @@ -105,6 +105,10 @@ public PathMovementBase // statics static void Initialize(void); + + // allow use for overwrite empty implementation + bool GetDestination(float& x, float& y, float& z) const { return PathMovementBase::GetDestination(x,y,z); } + private: void ClearWaypoints(); @@ -138,5 +142,8 @@ public PathMovementBase bool HasArrived() const { return (i_currentNode >= i_path.Size()); } void SetCurrentNodeAfterTeleport(); void SkipCurrentNode() { ++i_currentNode; } + + // allow use for overwrite empty implementation + bool GetDestination(float& x, float& y, float& z) const { return PathMovementBase::GetDestination(x,y,z); } }; #endif