(svn r11964) -Fix [FS#1685]: Tropic zone data was returned incorrectly.

This commit is contained in:
peter1138 2008-01-23 17:45:48 +00:00
parent 9c16461c29
commit b718cae67d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}