Merge pull request #7721 from abcdefg30/smallpolish

Small polish.
This commit is contained in:
Taryn Hill
2015-03-23 12:28:55 -05:00
3 changed files with 8 additions and 7 deletions

View File

@@ -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<string, PerfItem> Items = new Cache<string, PerfItem>(

View File

@@ -122,9 +122,9 @@ namespace OpenRA.Mods.Common.Traits
}
}
readonly string race;
readonly string race;
readonly RenderSpritesInfo info;
readonly Dictionary<string, AnimationWrapper> anims = new Dictionary<string, AnimationWrapper>();
readonly Dictionary<string, AnimationWrapper> anims = new Dictionary<string, AnimationWrapper>();
string cachedImage;
public static Func<int> MakeFacingFunc(Actor self)

View File

@@ -17,7 +17,7 @@ namespace OpenRA.Mods.D2k.Traits
{
public class LaysTerrainInfo : ITraitInfo, Requires<BuildingInfo>
{
[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;