From b718cae67d994f84e6ae29e7d9f38fa796ae3e8a Mon Sep 17 00:00:00 2001 From: peter1138 Date: Wed, 23 Jan 2008 17:45:48 +0000 Subject: [PATCH] (svn r11964) -Fix [FS#1685]: Tropic zone data was returned incorrectly. --- src/newgrf_commons.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/newgrf_commons.cpp b/src/newgrf_commons.cpp index 03557b6fff..944161a0a1 100644 --- a/src/newgrf_commons.cpp +++ b/src/newgrf_commons.cpp @@ -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; }