diff options
author | belugas <belugas@openttd.org> | 2006-03-30 19:16:44 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2006-03-30 19:16:44 +0000 |
commit | 80570009dd802e7403983c7e28670e7debd4c57b (patch) | |
tree | 0f080a9a7fe135f94c938d4a6178f9175904cc93 /town_cmd.c | |
parent | 756212a71e6910919ef854c0f5d9bb35a1e14001 (diff) | |
download | openttd-80570009dd802e7403983c7e28670e7debd4c57b.tar.xz |
(svn r4181) CodeChange : Replaced [G/S]etMapExtraBits by [G/S]etTropicZone. Although it was an accessor, nor his usage nor the values were clear.
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 8c31c54f2..694d93197 100644 --- a/town_cmd.c +++ b/town_cmd.c @@ -1762,7 +1762,7 @@ static void UpdateTownGrowRate(Town *t) 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) + if (GetTropicZone(t->xy) == TROPICZONE_DESERT && (t->act_food==0 || t->act_water==0) && t->population > 60) return; } |