Fix variable ordering.

This commit is contained in:
Paul Chote
2014-12-26 11:05:22 +13:00
parent 22ab35f681
commit 362b4aeaef
6 changed files with 18 additions and 22 deletions

View File

@@ -19,6 +19,8 @@ namespace OpenRA.Mods.Common.Graphics
public int Length { get { return trail.Length; } }
readonly World world;
readonly Color color;
readonly int zOffset;
// Store trail positions in a circular buffer
readonly WPos[] trail;
@@ -26,9 +28,6 @@ namespace OpenRA.Mods.Common.Graphics
int length;
int skip;
readonly Color color;
readonly int zOffset;
public ContrailRenderable(World world, Color color, int length, int skip, int zOffset)
: this(world, new WPos[length], 0, 0, skip, color, zOffset) { }