Add MapGrid class
MapGrid is a mod Manifest field which includes (and thus makes redundant) TileSize, TileShape, SubCells info and MaximumTerrainHeight.
This commit is contained in:
@@ -38,7 +38,7 @@ namespace OpenRA
|
||||
|
||||
public CPos ToCPos(Map map)
|
||||
{
|
||||
return ToCPos(map.TileShape);
|
||||
return ToCPos(map.Grid.Type);
|
||||
}
|
||||
|
||||
public CPos ToCPos(TileShape shape)
|
||||
|
||||
Reference in New Issue
Block a user