Remove unnecessary and incorrect cell check.

This caused all cells inside the map to be
treated as valid parachute targets, ignoring
all later checks.
This commit is contained in:
Paul Chote
2016-09-03 19:13:19 +01:00
parent 67cc12436f
commit 7725f6b952

View File

@@ -64,9 +64,6 @@ namespace OpenRA.Mods.Common.Traits
return;
var cell = self.Location;
if (self.World.Map.Contains(cell))
return;
if (positionable.CanEnterCell(cell, self))
return;