Remove redundant BuildingInfluence checks.

Buildings are already excluded by the ActorMap checks.
This commit is contained in:
Paul Chote
2020-10-07 17:46:49 +01:00
committed by Matthias Mailänder
parent 63d597e4ad
commit 5e032edd28
3 changed files with 1 additions and 8 deletions

View File

@@ -63,9 +63,6 @@ namespace OpenRA.Mods.Common.Traits
if (!CanExistInCell(world, cell))
return SubCell.Invalid;
if (world.WorldActor.Trait<BuildingInfluence>().GetBuildingAt(cell) != null)
return SubCell.Invalid;
if (check == BlockedByActor.None)
return SubCell.FullCell;