Remove redundant BuildingInfluence checks.
Buildings are already excluded by the ActorMap checks.
This commit is contained in:
committed by
Matthias Mailänder
parent
63d597e4ad
commit
5e032edd28
@@ -187,9 +187,6 @@ namespace OpenRA.Mods.Common.Traits
|
||||
if (!LandableTerrainTypes.Contains(type))
|
||||
return false;
|
||||
|
||||
if (world.WorldActor.Trait<BuildingInfluence>().GetBuildingAt(cell) != null)
|
||||
return false;
|
||||
|
||||
if (check == BlockedByActor.None)
|
||||
return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user