simplification
This commit is contained in:
@@ -387,7 +387,7 @@ namespace OpenRA.Mods.RA.Move
|
|||||||
IsQueued = forceQueued;
|
IsQueued = forceQueued;
|
||||||
cursor = "move";
|
cursor = "move";
|
||||||
if (!self.World.Map.IsInMap(location) || (self.World.LocalPlayer.Shroud.IsExplored(location) &&
|
if (!self.World.Map.IsInMap(location) || (self.World.LocalPlayer.Shroud.IsExplored(location) &&
|
||||||
self.Trait<Mobile>().Info.MovementCostForCell(self.World, location) == int.MaxValue))
|
unitType.MovementCostForCell(self.World, location) == int.MaxValue))
|
||||||
cursor = "move-blocked";
|
cursor = "move-blocked";
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user