(svn r1542) Rename TileHeight to TilePixelHeight, because this is what it actually returns
This commit is contained in:
@@ -1656,7 +1656,7 @@ static void UpdateTownGrowRate(Town *t)
|
||||
}
|
||||
|
||||
if (_opt.landscape == LT_HILLY) {
|
||||
if (TileHeight(t->xy) >= _opt.snow_line && t->act_food == 0 && t->population > 90)
|
||||
if (TilePixelHeight(t->xy) >= _opt.snow_line && t->act_food == 0 && t->population > 90)
|
||||
return;
|
||||
} else if (_opt.landscape == LT_DESERT) {
|
||||
if (GetMapExtraBits(t->xy) == 1 && (t->act_food==0 || t->act_water==0) && t->population > 60)
|
||||
|
||||
Reference in New Issue
Block a user