All pastes #984054 Raw Edit

Miscellany

public text v1 · immutable
·published 2008-04-13 21:56 UTC
rendered paste body
Index: src/game/PointMovementGenerator.cpp
===================================================================
--- src/game/PointMovementGenerator.cpp	(revision 5627)
+++ src/game/PointMovementGenerator.cpp	(working copy)
@@ -32,7 +32,7 @@
     i_destinationHolder.SetDestination(traveller,x,y,z);
 }
 
-void PointMovementGenerator<Creature>::MovementInform(Creature &unit)
+template <> void PointMovementGenerator<Creature>::MovementInform(Creature &unit)
 {
     unit.AI()->MovementInform(POINT_MOTION_TYPE, id);
 }
Index: src/game/PointMovementGenerator.h
===================================================================
--- src/game/PointMovementGenerator.h	(revision 5627)
+++ src/game/PointMovementGenerator.h	(working copy)
@@ -48,8 +48,7 @@
     DestinationHolder< Traveller<T> > i_destinationHolder;
 };
 
-//template<> 
-void MANGOS_DLL_SPEC PointMovementGenerator<Creature>::Initialize(Creature &unit);
-//template<> 
-bool MANGOS_DLL_SPEC PointMovementGenerator<Creature>::Update(Creature &unit, const uint32 &diff);
+template <> void MANGOS_DLL_SPEC PointMovementGenerator<Creature>::Initialize(Creature &unit);
+template <> bool MANGOS_DLL_SPEC PointMovementGenerator<Creature>::Update(Creature &unit, const uint32 &diff);
+
 #endif