1
0
Fork 0

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.
pull/8511/head
Patric Stout 2021-01-06 14:20:33 +01:00 committed by Patric Stout
parent 64eddaeb49
commit a4e34e824c
1 changed files with 1 additions and 1 deletions

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) {