From aace8968d65826ba64d92d97e4f8561b49ee5b2c Mon Sep 17 00:00:00 2001 From: truelight Date: Sat, 19 Aug 2006 11:28:41 +0000 Subject: [PATCH] (svn r5948) -Fix: inversed check caused oringal land-generator to put industries on mountains (tnx Darkvater) --- industry_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/industry_cmd.c b/industry_cmd.c index 148a391c8a..485747f2d4 100644 --- a/industry_cmd.c +++ b/industry_cmd.c @@ -1192,7 +1192,7 @@ static bool CheckIfIndustryTilesAreFree(TileIndex tile, const IndustryTileTable tileh = GetTileSlope(cur_tile, NULL); if (IsSteepSlope(tileh)) return false; - if (_patches.land_generator == LG_TERRAGENESIS || !_generating_world) { + if (_patches.land_generator != LG_TERRAGENESIS || !_generating_world) { /* It is almost impossible to have a fully flat land in TG, so what we * do is that we check if we can make the land flat later on. See * CheckIfCanLevelIndustryPlatform(). */