From 864c4bc03ab69acbd07bb8cdf247db8290370abb Mon Sep 17 00:00:00 2001 From: Temeez Date: Wed, 19 Feb 2014 14:19:52 +0200 Subject: [PATCH 1/2] Pillbox unload fix --- AUTHORS | 1 + OpenRA.Mods.RA/Cargo.cs | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index dd142f5b54..d6e0facd88 100644 --- a/AUTHORS +++ b/AUTHORS @@ -64,6 +64,7 @@ Also thanks to: * Sascha Biedermann (bidifx) * Sebastien Kerguen (xanax) * Taryn Hill (Phrohdoh) + * Teemu Nieminen (Temeez) * Tim Mylemans (gecko) * Tirili * Tristan Keating (Kilkakon) diff --git a/OpenRA.Mods.RA/Cargo.cs b/OpenRA.Mods.RA/Cargo.cs index e41d412d58..b7526d413a 100644 --- a/OpenRA.Mods.RA/Cargo.cs +++ b/OpenRA.Mods.RA/Cargo.cs @@ -61,7 +61,6 @@ namespace OpenRA.Mods.RA } } - currentCell = self.CenterPosition.ToCPos(); CurrentAdjacentCells = GetAdjacentCells(); } From 8bcb2e15c7a75f21f8cbad79c1a6ad249bda74a0 Mon Sep 17 00:00:00 2001 From: Temeez Date: Thu, 20 Feb 2014 08:08:58 +0200 Subject: [PATCH 2/2] removed CurrentAdjacentCells from ctor --- OpenRA.Mods.RA/Cargo.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/OpenRA.Mods.RA/Cargo.cs b/OpenRA.Mods.RA/Cargo.cs index b7526d413a..49b1fef38a 100644 --- a/OpenRA.Mods.RA/Cargo.cs +++ b/OpenRA.Mods.RA/Cargo.cs @@ -60,8 +60,6 @@ namespace OpenRA.Mods.RA Load(self, unit); } } - - CurrentAdjacentCells = GetAdjacentCells(); } public IEnumerable Orders