(svn r1542) Rename TileHeight to TilePixelHeight, because this is what it actually returns

This commit is contained in:
tron
2005-01-16 14:06:22 +00:00
parent b119b6c474
commit ef923fae44
6 changed files with 12 additions and 12 deletions

View File

@@ -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)