forked from mirror/OpenTTD
(svn r4181) CodeChange : Replaced [G/S]etMapExtraBits by [G/S]etTropicZone. Although it was an accessor, nor his usage nor the values were clear.
This commit is contained in:
@@ -55,7 +55,7 @@ static void GenerateDesertArea(TileIndex end, TileIndex start)
|
||||
_generating_world = true;
|
||||
BEGIN_TILE_LOOP(tile, size_x, size_y, TileXY(sx, sy)) {
|
||||
if (GetTileType(tile) != MP_WATER) {
|
||||
SetMapExtraBits(tile, (_ctrl_pressed) ? 0 : 1);
|
||||
SetTropicZone(tile, (_ctrl_pressed) ? TROPICZONE_INVALID : TROPICZONE_DESERT);
|
||||
DoCommandP(tile, 0, 0, NULL, CMD_LANDSCAPE_CLEAR);
|
||||
MarkTileDirtyByTile(tile);
|
||||
}
|
||||
|
Reference in New Issue
Block a user