diff options
author | belugas <belugas@openttd.org> | 2007-03-22 03:42:43 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-03-22 03:42:43 +0000 |
commit | 06d3669bb54143c588bd7b3abddbbb79582c94ee (patch) | |
tree | 7d05afaad21b690abc8c07d95e1f62206b11bccd /src/tunnelbridge_cmd.cpp | |
parent | 6e9ab4f7b8ceefa99ee2e074b0fb814d8ece3740 (diff) | |
download | openttd-06d3669bb54143c588bd7b3abddbbb79582c94ee.tar.xz |
(svn r9400) -Codechange: Use some more representative enum names for landscape types.
Diffstat (limited to 'src/tunnelbridge_cmd.cpp')
-rw-r--r-- | src/tunnelbridge_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tunnelbridge_cmd.cpp b/src/tunnelbridge_cmd.cpp index ae7711f96..aa2279d7d 100644 --- a/src/tunnelbridge_cmd.cpp +++ b/src/tunnelbridge_cmd.cpp @@ -1178,7 +1178,7 @@ static void TileLoop_TunnelBridge(TileIndex tile) { bool snow_or_desert = IsTunnelTile(tile) ? HasTunnelSnowOrDesert(tile) : HasBridgeSnowOrDesert(tile); switch (_opt.landscape) { - case LT_HILLY: + case LT_ARCTIC: if (snow_or_desert != (GetTileZ(tile) > GetSnowLine())) { if (IsTunnelTile(tile)) { SetTunnelSnowOrDesert(tile, !snow_or_desert); @@ -1189,7 +1189,7 @@ static void TileLoop_TunnelBridge(TileIndex tile) } break; - case LT_DESERT: + case LT_TROPIC: if (GetTropicZone(tile) == TROPICZONE_DESERT && !snow_or_desert) { if (IsTunnelTile(tile)) { SetTunnelSnowOrDesert(tile, true); |