mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-19 10:26:27 +01:00
(svn r5948) -Fix: inversed check caused oringal land-generator to put industries on mountains (tnx Darkvater)
This commit is contained in:
parent
10b842bddc
commit
aace8968d6
@ -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(). */
|
||||
|
Loading…
Reference in New Issue
Block a user