summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-01-06 14:20:33 +0100
committerPatric Stout <github@truebrain.nl>2021-01-06 21:39:34 +0100
commita4e34e824c481a7d3390c2739146192ac827533e (patch)
tree1d799a43d3b93e9d149e3f20a7838c64b9bf9b6e /src
parent64eddaeb499e7ad17275b34634ceaaff64c84728 (diff)
downloadopenttd-a4e34e824c481a7d3390c2739146192ac827533e.tar.xz
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.
Diffstat (limited to 'src')
-rw-r--r--src/town_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp
index f3dbe7ae4..d7ab29a66 100644
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -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) {