From 89f3718aa7d646d149edd24b39b6ae0812d1e6d1 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Mon, 27 Jul 2015 21:12:03 +0200 Subject: [PATCH] Move Armor trait to Mods.Common --- OpenRA.Game/OpenRA.Game.csproj | 1 - OpenRA.Mods.Common/OpenRA.Mods.Common.csproj | 1 + {OpenRA.Game => OpenRA.Mods.Common}/Traits/Armor.cs | 4 +++- OpenRA.Mods.Common/Warheads/DamageWarhead.cs | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) rename {OpenRA.Game => OpenRA.Mods.Common}/Traits/Armor.cs (90%) diff --git a/OpenRA.Game/OpenRA.Game.csproj b/OpenRA.Game/OpenRA.Game.csproj index 035ddf3832..e2fad0b42f 100644 --- a/OpenRA.Game/OpenRA.Game.csproj +++ b/OpenRA.Game/OpenRA.Game.csproj @@ -168,7 +168,6 @@ - diff --git a/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj b/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj index a95faa52bd..687d3c95b4 100644 --- a/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj +++ b/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj @@ -260,6 +260,7 @@ + diff --git a/OpenRA.Game/Traits/Armor.cs b/OpenRA.Mods.Common/Traits/Armor.cs similarity index 90% rename from OpenRA.Game/Traits/Armor.cs rename to OpenRA.Mods.Common/Traits/Armor.cs index 0eed1db5de..04064cd913 100644 --- a/OpenRA.Game/Traits/Armor.cs +++ b/OpenRA.Mods.Common/Traits/Armor.cs @@ -8,7 +8,9 @@ */ #endregion -namespace OpenRA.Traits +using OpenRA.Traits; + +namespace OpenRA.Mods.Common.Traits { [Desc("Used to define weapon efficiency modifiers with different percentages per Type.")] public class ArmorInfo : TraitInfo diff --git a/OpenRA.Mods.Common/Warheads/DamageWarhead.cs b/OpenRA.Mods.Common/Warheads/DamageWarhead.cs index 8abeec4f1f..b9d6f3e169 100644 --- a/OpenRA.Mods.Common/Warheads/DamageWarhead.cs +++ b/OpenRA.Mods.Common/Warheads/DamageWarhead.cs @@ -9,6 +9,7 @@ #endregion using System.Collections.Generic; +using OpenRA.Mods.Common.Traits; using OpenRA.Traits; namespace OpenRA.Mods.Common.Warheads