From 578bde9aaef23287b43286878ea9c54b873e362c Mon Sep 17 00:00:00 2001 From: pasky Date: Sat, 20 Nov 2004 02:36:10 +0000 Subject: [PATCH] (svn r698) Merge a town growth fix from TTDPatch - in arctic and desert climate, require food (and possibly water) only if the population is more than 90, so that the town gets chance to actually accept it. (By Marcin?) --- town_cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/town_cmd.c b/town_cmd.c index 50e18dc96c..add337060e 100644 --- a/town_cmd.c +++ b/town_cmd.c @@ -1612,10 +1612,10 @@ static void UpdateTownGrowRate(Town *t) } if (_opt.landscape == LT_HILLY) { - if (GET_TILEHEIGHT(t->xy) >= _opt.snow_line && t->act_food == 0) + if (GET_TILEHEIGHT(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)) + if (GetMapExtraBits(t->xy) == 1 && (t->act_food==0 || t->act_water==0) && t->population > 60) return; }