Changed SubCell to byte

This commit is contained in:
teinarss
2018-08-05 13:08:43 +02:00
committed by Paul Chote
parent 52a7d39e51
commit e353c8c176
7 changed files with 15 additions and 10 deletions

View File

@@ -292,7 +292,7 @@ namespace OpenRA.Traits
Pair<CPos, SubCell>[] OccupiedCells();
}
public enum SubCell { Invalid = int.MinValue, Any = int.MinValue / 2, FullCell = 0, First = 1 }
public enum SubCell : byte { Invalid = byte.MaxValue, Any = byte.MaxValue - 1, FullCell = 0, First = 1 }
public interface IPositionableInfo : IOccupySpaceInfo
{