diff options
author | tron <tron@openttd.org> | 2005-01-16 14:06:22 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-16 14:06:22 +0000 |
commit | ef923fae44f785ef0446174de3eb78dbbf333019 (patch) | |
tree | 672638fb04fd17fbc001dde38aff57143c889325 /town_cmd.c | |
parent | b119b6c474268d0bad926fb10f0ac7f2857f5a09 (diff) | |
download | openttd-ef923fae44f785ef0446174de3eb78dbbf333019.tar.xz |
(svn r1542) Rename TileHeight to TilePixelHeight, because this is what it actually returns
Diffstat (limited to 'town_cmd.c')
-rw-r--r-- | town_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/town_cmd.c b/town_cmd.c index 5341324ae..54d478d1b 100644 --- a/town_cmd.c +++ b/town_cmd.c @@ -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) |