mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r23082) -Fix: account for snow line table when determining the snow line for building houses
This commit is contained in:
parent
2e3d32decc
commit
c465c79f09
@ -2104,7 +2104,7 @@ static bool BuildTownHouse(Town *t, TileIndex tile)
|
||||
|
||||
/* Above snow? */
|
||||
int land = _settings_game.game_creation.landscape;
|
||||
if (land == LT_ARCTIC && z >= _settings_game.game_creation.snow_line) land = -1;
|
||||
if (land == LT_ARCTIC && z >= HighestSnowLine()) land = -1;
|
||||
|
||||
uint bitmask = (1 << rad) + (1 << (land + 12));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user