WaypointMovementGenerator - linux compile fix
--HG-- branch : trunk
This commit is contained in:
@@ -66,8 +66,8 @@ void WaypointMovementGenerator<Creature>::MovementInform(Creature &unit)
|
|||||||
unit.AI()->MovementInform(WAYPOINT_MOTION_TYPE, i_currentNode);
|
unit.AI()->MovementInform(WAYPOINT_MOTION_TYPE, i_currentNode);
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class T>
|
template<>
|
||||||
bool WaypointMovementGenerator<T>::GetDestination(float &x, float &y, float &z) const
|
bool WaypointMovementGenerator<Creature>::GetDestination(float &x, float &y, float &z) const
|
||||||
{
|
{
|
||||||
if(i_destinationHolder.HasArrived())
|
if(i_destinationHolder.HasArrived())
|
||||||
return false;
|
return false;
|
||||||
@@ -75,8 +75,9 @@ bool WaypointMovementGenerator<T>::GetDestination(float &x, float &y, float &z)
|
|||||||
i_destinationHolder.GetDestination(x, y, z);
|
i_destinationHolder.GetDestination(x, y, z);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
template bool WaypointMovementGenerator<Creature>::GetDestination(float &x, float &y, float &z) const;
|
|
||||||
template bool WaypointMovementGenerator<Player>::GetDestination(float &x, float &y, float &z) const;
|
template<>
|
||||||
|
bool WaypointMovementGenerator<Player>::GetDestination(float &x, float &y, float &z) const {}
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
void WaypointMovementGenerator<Creature>::Reset(Creature &unit){}
|
void WaypointMovementGenerator<Creature>::Reset(Creature &unit){}
|
||||||
|
|||||||
Reference in New Issue
Block a user