(svn r5948) -Fix: inversed check caused oringal land-generator to put industries on mountains (tnx Darkvater)

This commit is contained in:
truelight 2006-08-19 11:28:41 +00:00
parent 10b842bddc
commit aace8968d6
1 changed files with 1 additions and 1 deletions

View File

@ -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(). */