equal
deleted
inserted
replaced
1190 if (IsTileType(cur_tile, MP_WATER) && _m[cur_tile].m5 == 0) return false; |
1190 if (IsTileType(cur_tile, MP_WATER) && _m[cur_tile].m5 == 0) return false; |
1191 |
1191 |
1192 tileh = GetTileSlope(cur_tile, NULL); |
1192 tileh = GetTileSlope(cur_tile, NULL); |
1193 if (IsSteepSlope(tileh)) return false; |
1193 if (IsSteepSlope(tileh)) return false; |
1194 |
1194 |
1195 if (_patches.land_generator == LG_TERRAGENESIS || !_generating_world) { |
1195 if (_patches.land_generator != LG_TERRAGENESIS || !_generating_world) { |
1196 /* It is almost impossible to have a fully flat land in TG, so what we |
1196 /* It is almost impossible to have a fully flat land in TG, so what we |
1197 * do is that we check if we can make the land flat later on. See |
1197 * do is that we check if we can make the land flat later on. See |
1198 * CheckIfCanLevelIndustryPlatform(). */ |
1198 * CheckIfCanLevelIndustryPlatform(). */ |
1199 if (tileh != SLOPE_FLAT) { |
1199 if (tileh != SLOPE_FLAT) { |
1200 Slope t; |
1200 Slope t; |