@@ -319,6 +319,7 @@ namespace OpenRA.Mods.RA.Move
|
|||||||
|
|
||||||
void UpdateCenterLocation(Actor self, Mobile mobile)
|
void UpdateCenterLocation(Actor self, Mobile mobile)
|
||||||
{
|
{
|
||||||
|
if (moveFractionTotal != 0)
|
||||||
mobile.SetVisualPosition(self, WPos.Lerp(from, to, moveFraction, moveFractionTotal));
|
mobile.SetVisualPosition(self, WPos.Lerp(from, to, moveFraction, moveFractionTotal));
|
||||||
|
|
||||||
if (moveFraction >= moveFractionTotal)
|
if (moveFraction >= moveFractionTotal)
|
||||||
|
|||||||
Reference in New Issue
Block a user