Renamed TerrainFlags to TerrainType.