*Do not change dest when target does not move for targeted movement.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-22 03:07:52 -05:00
parent 8a44eff53a
commit 6e6d10e3e9
2 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ class TRINITY_DLL_SPEC TargetedMovementGenerator
bool GetDestination(float &x, float &y, float &z) const
{
if(i_destinationHolder.HasArrived()) return false;
if(i_destinationHolder.HasArrived() || !i_destinationHolder.HasDestination()) return false;
i_destinationHolder.GetDestination(x,y,z);
return true;
}