1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-27 08:29:11 +00:00

Change: towns can now bridge 4 rails (up from 3)

Having 4 rails is a pretty common design, and towns now couldn't
bridge out of this common design.
This commit is contained in:
Patric Stout
2021-01-06 14:20:33 +01:00
committed by Patric Stout
parent 64eddaeb49
commit a4e34e824c

View File

@@ -1161,7 +1161,7 @@ static bool GrowTownWithBridge(const Town *t, const TileIndex tile, const DiagDi
/* To prevent really small towns from building disproportionately
* long bridges, make the max a function of its population. */
int base_bridge_length = 4;
int base_bridge_length = 5;
int max_bridge_length = t->cache.population / 1000 + base_bridge_length;
if (slope == SLOPE_FLAT) {