diff options
author | peter1138 <peter1138@openttd.org> | 2008-01-23 17:45:48 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-01-23 17:45:48 +0000 |
commit | 18df5480bac0333848655d189f14b83ddee17308 (patch) | |
tree | 1e00530805f82896deb28a4c007807f9c16e58c0 /src | |
parent | ba1f3b4834a83efd63563d8d5fb7af7e06aeae5f (diff) | |
download | openttd-18df5480bac0333848655d189f14b83ddee17308.tar.xz |
(svn r11964) -Fix [FS#1685]: Tropic zone data was returned incorrectly.
Diffstat (limited to 'src')
-rw-r--r-- | src/newgrf_commons.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_commons.cpp b/src/newgrf_commons.cpp index 03557b6ff..944161a0a 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; } |