Small structural change to fix an error on some compilers.

--HG--
branch : trunk
This commit is contained in:
MeanMachine
2008-12-10 07:41:01 +02:00
parent c2b217a1c1
commit 9be484f8c8
2 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ class TRINITY_DLL_SPEC WaypointMovementGenerator
void GeneratePathId(T &);
void Reset(T &unit);
bool Update(T &, const uint32 &);
bool GetDestination(float &x, float &y, float &z) const{if(i_destinationHolder.HasArrived())return false; i_destinationHolder.GetDestination(x, y, z); return true;}
bool GetDestination(float &x, float &y, float &z) const;
MovementGeneratorType GetMovementGeneratorType() { return WAYPOINT_MOTION_TYPE; }
private: