[9437] Move waypoint's GetResetPosition function body to .cpp.

This commit is contained in:
VladimirMangos 2010-02-23 04:07:01 +03:00
parent d62336cec2
commit 0dfc2093d5
3 changed files with 7 additions and 5 deletions

View file

@ -271,6 +271,11 @@ void WaypointMovementGenerator<Creature>::MovementInform(Creature &unit)
unit.AI()->MovementInform(WAYPOINT_MOTION_TYPE, i_currentNode);
}
bool WaypointMovementGenerator<Creature>::GetResetPosition( Creature&, float& x, float& y, float& z )
{
return PathMovementBase<Creature, WaypointPath const*>::GetPosition(x,y,z);
}
//----------------------------------------------------//
void FlightPathMovementGenerator::LoadPath(Player &)
{

View file

@ -98,10 +98,7 @@ public PathMovementBase<Creature, WaypointPath const*>
// allow use for overwrite empty implementation
bool GetDestination(float& x, float& y, float& z) const { return PathMovementBase<Creature, WaypointPath const*>::GetDestination(x,y,z); }
bool GetResetPosition(Creature&, float& x, float& y, float& z)
{
return PathMovementBase<Creature, WaypointPath const*>::GetPosition(x,y,z);
}
bool GetResetPosition(Creature&, float& x, float& y, float& z);
private:
void ClearWaypoints();

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9436"
#define REVISION_NR "9437"
#endif // __REVISION_NR_H__