Mercurial > hg > openttd
changeset 8394:a6d82a62753c draft
(svn r11964) -Fix [FS#1685]: Tropic zone data was returned incorrectly.
author | peter1138 <peter1138@openttd.org> |
---|---|
date | Wed, 23 Jan 2008 17:45:48 +0000 |
parents | af0f266771cb |
children | 11f2a49da775 |
files | src/newgrf_commons.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/newgrf_commons.cpp +++ b/src/newgrf_commons.cpp @@ -265,7 +265,7 @@ 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; }