*Do not change dest when target does not move for targeted movement.
--HG-- branch : trunk
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user