diff options
author | truelight <truelight@openttd.org> | 2006-08-19 11:28:41 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2006-08-19 11:28:41 +0000 |
commit | 626788756e7dc8d07bb0535cc7114d53ea25868c (patch) | |
tree | 05a21eec67db43b313213f1eddb7b088a67694cd | |
parent | 7abad2b20ee239c96f702b2463c98aca4f58aacf (diff) | |
download | openttd-626788756e7dc8d07bb0535cc7114d53ea25868c.tar.xz |
(svn r5948) -Fix: inversed check caused oringal land-generator to put industries on mountains (tnx Darkvater)
-rw-r--r-- | industry_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(). */ |