From c5a5bb08440351ee82cad8e7b5897d3ed9f448b8 Mon Sep 17 00:00:00 2001 From: abcdefg30 Date: Mon, 16 Feb 2015 18:03:58 +0100 Subject: [PATCH 1/3] Add a missing space in the Template description --- OpenRA.Mods.D2k/Traits/Buildings/LaysTerrain.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.D2k/Traits/Buildings/LaysTerrain.cs b/OpenRA.Mods.D2k/Traits/Buildings/LaysTerrain.cs index 950c890dcf..7788feb1d1 100644 --- a/OpenRA.Mods.D2k/Traits/Buildings/LaysTerrain.cs +++ b/OpenRA.Mods.D2k/Traits/Buildings/LaysTerrain.cs @@ -17,7 +17,7 @@ namespace OpenRA.Mods.D2k.Traits { public class LaysTerrainInfo : ITraitInfo, Requires { - [Desc("The terrain template to place. If the template is PickAny, then" + + [Desc("The terrain template to place. If the template is PickAny, then " + "the actor footprint will be filled with this tile.")] public readonly ushort Template = 0; From fb8ac1852244cbe1a7217c2308a24d2ef74f36a7 Mon Sep 17 00:00:00 2001 From: abcdefg30 Date: Mon, 16 Feb 2015 18:04:57 +0100 Subject: [PATCH 2/3] Fix the wrong indentation in PerfHistory.cs --- OpenRA.Game/Support/PerfHistory.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/OpenRA.Game/Support/PerfHistory.cs b/OpenRA.Game/Support/PerfHistory.cs index b532ceafef..a3ab350de9 100644 --- a/OpenRA.Game/Support/PerfHistory.cs +++ b/OpenRA.Game/Support/PerfHistory.cs @@ -19,10 +19,11 @@ namespace OpenRA.Support public static class PerfHistory { static readonly Color[] Colors = { Color.Red, Color.Green, - Color.Orange, Color.Yellow, - Color.Fuchsia, Color.Lime, - Color.LightBlue, Color.Blue, - Color.White, Color.Teal }; + Color.Orange, Color.Yellow, + Color.Fuchsia, Color.Lime, + Color.LightBlue, Color.Blue, + Color.White, Color.Teal }; + static int nextColor; public static Cache Items = new Cache( From f84882ce9c02ddd8cfaf4c6ee4dce1dc7f2fdd0e Mon Sep 17 00:00:00 2001 From: abcdefg30 Date: Fri, 20 Mar 2015 15:22:23 +0100 Subject: [PATCH 3/3] Replace spaces with tabs --- OpenRA.Mods.Common/Traits/Render/RenderSprites.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRA.Mods.Common/Traits/Render/RenderSprites.cs b/OpenRA.Mods.Common/Traits/Render/RenderSprites.cs index 3a4266e92c..62e5b56e75 100644 --- a/OpenRA.Mods.Common/Traits/Render/RenderSprites.cs +++ b/OpenRA.Mods.Common/Traits/Render/RenderSprites.cs @@ -122,9 +122,9 @@ namespace OpenRA.Mods.Common.Traits } } - readonly string race; + readonly string race; readonly RenderSpritesInfo info; - readonly Dictionary anims = new Dictionary(); + readonly Dictionary anims = new Dictionary(); string cachedImage; public static Func MakeFacingFunc(Actor self)