Merge pull request #6767 from huwpascoe/crush-fix

Fixed ICrushable not being triggered properly
This commit is contained in:
obrakmann
2014-10-17 20:52:50 +02:00

View File

@@ -395,6 +395,7 @@ namespace OpenRA.Mods.RA.Move
Util.GetNearestFacing(mobile.Facing, self.World.Map.FacingBetween(mobile.toCell, nextCell.Value.First, mobile.Facing)),
moveFraction - moveFractionTotal);
mobile.FinishedMoving(self);
mobile.SetLocation(mobile.toCell, mobile.toSubCell, nextCell.Value.First, nextCell.Value.Second);
return ret;
}