From 7725f6b95237d2c4ffd32aba287dddff98204835 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sat, 3 Sep 2016 19:13:19 +0100 Subject: [PATCH] Remove unnecessary and incorrect cell check. This caused all cells inside the map to be treated as valid parachute targets, ignoring all later checks. --- OpenRA.Mods.Common/Traits/Parachutable.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/OpenRA.Mods.Common/Traits/Parachutable.cs b/OpenRA.Mods.Common/Traits/Parachutable.cs index 8ec98497e7..3901f6d350 100644 --- a/OpenRA.Mods.Common/Traits/Parachutable.cs +++ b/OpenRA.Mods.Common/Traits/Parachutable.cs @@ -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;