From 06d3669bb54143c588bd7b3abddbbb79582c94ee Mon Sep 17 00:00:00 2001 From: belugas Date: Thu, 22 Mar 2007 03:42:43 +0000 Subject: (svn r9400) -Codechange: Use some more representative enum names for landscape types. --- src/town_cmd.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/town_cmd.cpp') diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index 115d02d42..004fce6bd 100644 --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -1231,7 +1231,7 @@ static void DoBuildTownHouse(Town *t, TileIndex tile) uint rad = GetTownRadiusGroup(t, tile); int land = _opt.landscape; - if (land == LT_HILLY && z >= _opt.snow_line) land = -1; + if (land == LT_ARCTIC && z >= _opt.snow_line) land = -1; bitmask = (1 << rad) + (1 << (land + 12)); } @@ -1698,10 +1698,10 @@ static void UpdateTownGrowRate(Town *t) m = _grow_count_values[min(n, 5) - 1]; } - if (_opt.landscape == LT_HILLY) { + if (_opt.landscape == LT_ARCTIC) { if (TilePixelHeight(t->xy) >= GetSnowLine() && t->act_food == 0 && t->population > 90) return; - } else if (_opt.landscape == LT_DESERT) { + } else if (_opt.landscape == LT_TROPIC) { if (GetTropicZone(t->xy) == TROPICZONE_DESERT && (t->act_food==0 || t->act_water==0) && t->population > 60) return; } -- cgit v1.2.3-70-g09d2