forked from mirror/OpenTTD
(svn r5948) -Fix: inversed check caused oringal land-generator to put industries on mountains (tnx Darkvater)
This commit is contained in:
@@ -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(). */
|
||||
|
Reference in New Issue
Block a user