From 626788756e7dc8d07bb0535cc7114d53ea25868c Mon Sep 17 00:00:00 2001 From: truelight Date: Sat, 19 Aug 2006 11:28:41 +0000 Subject: (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(-) (limited to 'industry_cmd.c') diff --git a/industry_cmd.c b/industry_cmd.c index 148a391c8..485747f2d 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(). */ -- cgit v1.2.3-54-g00ecf