*Fix a typo that makes target stop automatically when it is hit by attacker.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-31 14:34:05 -05:00
parent da871e2fc0
commit 507ae0a89d
+2 -2
View File
@@ -85,10 +85,10 @@ TargetedMovementGenerator<T>::_setTargetLocation(T &owner)
if(stop)
{
i_target->GetPosition(x, y, z);
owner.GetPosition(x, y, z);
i_destinationHolder.SetDestination(traveller, x, y, z);
i_destinationHolder.StartTravel(traveller, false);
i_target->StopMoving();
owner.StopMoving();
return false;
}
}