Rename enum TileShape to MapGridType
This commit is contained in:
@@ -41,9 +41,9 @@ namespace OpenRA
|
||||
return ToCPos(map.Grid.Type);
|
||||
}
|
||||
|
||||
public CPos ToCPos(TileShape shape)
|
||||
public CPos ToCPos(MapGridType gridType)
|
||||
{
|
||||
if (shape == TileShape.Rectangle)
|
||||
if (gridType == MapGridType.Rectangle)
|
||||
return new CPos(U, V);
|
||||
|
||||
// Convert from rectangular map position to diamond cell position
|
||||
|
||||
Reference in New Issue
Block a user