mirror of https://github.com/OpenTTD/OpenTTD
(svn r23082) -Fix: account for snow line table when determining the snow line for building houses
parent
0ded3f5904
commit
07cb2fd9a8
|
@ -2104,7 +2104,7 @@ static bool BuildTownHouse(Town *t, TileIndex tile)
|
||||||
|
|
||||||
/* Above snow? */
|
/* Above snow? */
|
||||||
int land = _settings_game.game_creation.landscape;
|
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));
|
uint bitmask = (1 << rad) + (1 << (land + 12));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue