mirror of https://github.com/OpenTTD/OpenTTD
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
parent
64eddaeb49
commit
a4e34e824c
|
@ -1161,7 +1161,7 @@ static bool GrowTownWithBridge(const Town *t, const TileIndex tile, const DiagDi
|
||||||
|
|
||||||
/* To prevent really small towns from building disproportionately
|
/* To prevent really small towns from building disproportionately
|
||||||
* long bridges, make the max a function of its population. */
|
* 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;
|
int max_bridge_length = t->cache.population / 1000 + base_bridge_length;
|
||||||
|
|
||||||
if (slope == SLOPE_FLAT) {
|
if (slope == SLOPE_FLAT) {
|
||||||
|
|
Loading…
Reference in New Issue