Move ctor initializers to their own line.

This commit is contained in:
Paul Chote
2019-06-08 12:59:02 +01:00
committed by reaperrr
parent 979ed1b140
commit 674155a8dd
33 changed files with 90 additions and 44 deletions

View File

@@ -34,7 +34,8 @@ namespace OpenRA
public byte Layer { get { return (byte)Bits; } }
public CPos(int bits) { Bits = bits; }
public CPos(int x, int y) : this(x, y, 0) { }
public CPos(int x, int y)
: this(x, y, 0) { }
public CPos(int x, int y, byte layer)
{
Bits = (x & 0xFFF) << 20 | (y & 0xFFF) << 8 | layer;