All pastes #984088 Raw Edit

Miscellany

public text v1 · immutable
·published 2008-04-13 22:24 UTC
rendered paste body
Index: PointMovementGenerator.h
===================================================================
--- PointMovementGenerator.h	(revision 5628)
+++ PointMovementGenerator.h	(working copy)
@@ -48,8 +48,8 @@
     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
+
Index: PointMovementGenerator.cpp
===================================================================
--- PointMovementGenerator.cpp	(revision 5628)
+++ PointMovementGenerator.cpp	(working copy)
@@ -32,6 +32,7 @@
     i_destinationHolder.SetDestination(traveller,x,y,z);
 }
 
+template<>
 void PointMovementGenerator<Creature>::MovementInform(Creature &unit)
 {
     unit.AI()->MovementInform(POINT_MOTION_TYPE, id);
@@ -58,4 +59,5 @@
     }
 
     return true;
-}
\ No newline at end of file
+}
+