Changeset - r18236:9c50bd9163d3
[Not reviewed]
master
0 1 0
rubidium - 13 years ago 2011-11-02 22:09:07
rubidium@openttd.org
(svn r23082) -Fix: account for snow line table when determining the snow line for building houses
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/town_cmd.cpp
Show inline comments
 
@@ -2104,7 +2104,7 @@ static bool BuildTownHouse(Town *t, 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));
 

	
0 comments (0 inline, 0 general)