|
|
|
@ -2477,12 +2477,19 @@ static const Roadside _town_road_types_2[][2] = {
|
|
|
|
|
static void TileLoop_Road(TileIndex tile)
|
|
|
|
|
{
|
|
|
|
|
switch (_settings_game.game_creation.landscape) {
|
|
|
|
|
case LT_ARCTIC:
|
|
|
|
|
if (IsOnSnow(tile) != (GetTileZ(tile) > GetSnowLine())) {
|
|
|
|
|
case LT_ARCTIC: {
|
|
|
|
|
/* Flat foundation tiles should look the same as the tiles they visually connect to. */
|
|
|
|
|
int tile_z = GetTileZ(tile);
|
|
|
|
|
if (tile_z == GetSnowLine()) {
|
|
|
|
|
GetFoundationSlope(tile, &tile_z);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (IsOnSnow(tile) != (tile_z > GetSnowLine())) {
|
|
|
|
|
ToggleSnow(tile);
|
|
|
|
|
MarkTileDirtyByTile(tile);
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
case LT_TROPIC:
|
|
|
|
|
if (GetTropicZone(tile) == TROPICZONE_DESERT && !IsOnDesert(tile)) {
|
|
|
|
|