mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r11058) -Fix[FS#1216]: GetTerrainType was a bit too relax with snow line.
After double checking with ttdpatch, behaviour is now more alike (Eddi)
This commit is contained in:
parent
704844ed43
commit
20a3b37963
@ -252,7 +252,7 @@ uint32 GetTerrainType(TileIndex tile)
|
||||
{
|
||||
switch (_opt.landscape) {
|
||||
case LT_TROPIC: return GetTropicZone(tile) == TROPICZONE_DESERT ? 1 : 2;
|
||||
case LT_ARCTIC: return GetTileZ(tile) >= GetSnowLine() ? 4 : 0;
|
||||
case LT_ARCTIC: return GetTileZ(tile) > GetSnowLine() ? 4 : 0;
|
||||
default: return 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user