From e7517e7bfa596a34d357e675cff51d742d77fda6 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Thu, 26 May 2016 11:38:39 +0200 Subject: [PATCH] Moved DrawLineToTarget from Game to Mods.Common --- OpenRA.Game/OpenRA.Game.csproj | 1 - OpenRA.Mods.Common/OpenRA.Mods.Common.csproj | 1 + .../Traits/Render}/DrawLineToTarget.cs | 3 ++- OpenRA.Mods.RA/Traits/Infiltration/Infiltrates.cs | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) rename {OpenRA.Game/Traits => OpenRA.Mods.Common/Traits/Render}/DrawLineToTarget.cs (98%) diff --git a/OpenRA.Game/OpenRA.Game.csproj b/OpenRA.Game/OpenRA.Game.csproj index 10ced73a1f..3731498e8a 100644 --- a/OpenRA.Game/OpenRA.Game.csproj +++ b/OpenRA.Game/OpenRA.Game.csproj @@ -171,7 +171,6 @@ - diff --git a/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj b/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj index d1d2b31854..4e439a1e40 100644 --- a/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj +++ b/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj @@ -456,6 +456,7 @@ + diff --git a/OpenRA.Game/Traits/DrawLineToTarget.cs b/OpenRA.Mods.Common/Traits/Render/DrawLineToTarget.cs similarity index 98% rename from OpenRA.Game/Traits/DrawLineToTarget.cs rename to OpenRA.Mods.Common/Traits/Render/DrawLineToTarget.cs index 3407762c79..421400a43f 100644 --- a/OpenRA.Game/Traits/DrawLineToTarget.cs +++ b/OpenRA.Mods.Common/Traits/Render/DrawLineToTarget.cs @@ -12,8 +12,9 @@ using System.Collections.Generic; using System.Drawing; using OpenRA.Graphics; +using OpenRA.Traits; -namespace OpenRA.Traits +namespace OpenRA.Mods.Common.Traits { public class DrawLineToTargetInfo : ITraitInfo { diff --git a/OpenRA.Mods.RA/Traits/Infiltration/Infiltrates.cs b/OpenRA.Mods.RA/Traits/Infiltration/Infiltrates.cs index 31f7a813ba..9687f65b50 100644 --- a/OpenRA.Mods.RA/Traits/Infiltration/Infiltrates.cs +++ b/OpenRA.Mods.RA/Traits/Infiltration/Infiltrates.cs @@ -15,6 +15,7 @@ using System.Linq; using OpenRA.Mods.Common; using OpenRA.Mods.Common.Activities; using OpenRA.Mods.Common.Orders; +using OpenRA.Mods.Common.Traits; using OpenRA.Mods.RA.Activities; using OpenRA.Traits;