Remove unused parameters.
This commit is contained in:
committed by
abcdefg30
parent
ea243b8558
commit
0e7ad43425
@@ -63,7 +63,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
}
|
||||
|
||||
// Can complete the move in this step
|
||||
var speed = mobile.MovementSpeedForCell(self, self.Location);
|
||||
var speed = mobile.MovementSpeedForCell(self.Location);
|
||||
if (delta.LengthSquared <= speed * speed)
|
||||
{
|
||||
mobile.SetCenterPosition(self, targetPos);
|
||||
|
||||
Reference in New Issue
Block a user