[9211] Fixed recent build problems at *nix.

Thanks to DasBlub and Lightguard for teating.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Derex 2010-01-19 01:20:34 +03:00 committed by VladimirMangos
parent de4d8c3a04
commit a6a5935406
4 changed files with 15 additions and 10 deletions

View file

@ -82,21 +82,26 @@ bool PointMovementGenerator<T>::Update(T &unit, const uint32 &diff)
return true;
}
template<class T>
void PointMovementGenerator<T>::MovementInform(T& /*unit*/)
template<>
void PointMovementGenerator<Player>::MovementInform(Player&)
{
}
template <> void PointMovementGenerator<Creature>::MovementInform(Creature &unit)
template <>
void PointMovementGenerator<Creature>::MovementInform(Creature &unit)
{
unit.AI()->MovementInform(POINT_MOTION_TYPE, id);
}
template void PointMovementGenerator<Player>::Initialize(Player&);
template bool PointMovementGenerator<Player>::Update(Player &, const uint32 &diff);
template void PointMovementGenerator<Player>::MovementInform(Player&);
template void PointMovementGenerator<Creature>::Initialize(Creature&);
template void PointMovementGenerator<Player>::Finalize(Player&);
template void PointMovementGenerator<Creature>::Finalize(Creature&);
template void PointMovementGenerator<Player>::Interrupt(Player&);
template void PointMovementGenerator<Creature>::Interrupt(Creature&);
template void PointMovementGenerator<Player>::Reset(Player&);
template void PointMovementGenerator<Creature>::Reset(Creature&);
template bool PointMovementGenerator<Player>::Update(Player &, const uint32 &diff);
template bool PointMovementGenerator<Creature>::Update(Creature&, const uint32 &diff);
void AssistanceMovementGenerator::Finalize(Unit &unit)