Index: PointMovementGenerator.h =================================================================== --- PointMovementGenerator.h (revision 5628) +++ PointMovementGenerator.h (working copy) @@ -48,8 +48,8 @@ DestinationHolder< Traveller > i_destinationHolder; }; -//template<> -void MANGOS_DLL_SPEC PointMovementGenerator::Initialize(Creature &unit); -//template<> -bool MANGOS_DLL_SPEC PointMovementGenerator::Update(Creature &unit, const uint32 &diff); +template void MANGOS_DLL_SPEC PointMovementGenerator::Initialize(Creature &unit); +template void MANGOS_DLL_SPEC PointMovementGenerator::MovementInform(Creature &unit); +template bool MANGOS_DLL_SPEC PointMovementGenerator::Update(Creature &unit, const uint32 &diff); + #endif Index: PointMovementGenerator.cpp =================================================================== --- PointMovementGenerator.cpp (revision 5628) +++ PointMovementGenerator.cpp (working copy) @@ -32,7 +32,8 @@ i_destinationHolder.SetDestination(traveller,x,y,z); } -void PointMovementGenerator::MovementInform(Creature &unit) +template +void PointMovementGenerator::MovementInform(T &unit) { unit.AI()->MovementInform(POINT_MOTION_TYPE, id); } @@ -58,4 +59,4 @@ } return true; -} \ No newline at end of file +}