mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 22:28:56 +00:00
(svn r11964) -Fix [FS#1685]: Tropic zone data was returned incorrectly.
This commit is contained in:
parent
9c16461c29
commit
b718cae67d
@ -265,7 +265,7 @@ void IndustryTileOverrideManager::SetEntitySpec(const IndustryTileSpec *its)
|
||||
uint32 GetTerrainType(TileIndex tile)
|
||||
{
|
||||
switch (_opt.landscape) {
|
||||
case LT_TROPIC: return GetTropicZone(tile) == TROPICZONE_DESERT ? 1 : 2;
|
||||
case LT_TROPIC: return GetTropicZone(tile);
|
||||
case LT_ARCTIC: return GetTileZ(tile) > GetSnowLine() ? 4 : 0;
|
||||
default: return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user