summaryrefslogtreecommitdiff
path: root/src/bridge.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-06-23 08:38:07 +0000
committerrubidium <rubidium@openttd.org>2008-06-23 08:38:07 +0000
commit67e610a8a87f213d19498cbfe207d46b51d101d9 (patch)
tree1a2e268636bd1b5c36ffe7965e143b2f1695cfa3 /src/bridge.h
parenta2b0b13c6f077c53b65001d31de2691da2168f43 (diff)
downloadopenttd-67e610a8a87f213d19498cbfe207d46b51d101d9.tar.xz
(svn r13611) -Fix [FS#2100]: if the first bridge can't be build for a given length, then none of the other bridges can. Effectively meaning that if someone replaces the first bridge with a bridge that can be only 3 tiles longs then only other bridges that can be 3 tiles long will be buildable, but only if they are 3 tiles long.
Diffstat (limited to 'src/bridge.h')
-rw-r--r--src/bridge.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bridge.h b/src/bridge.h
index af41be59f..648d54dde 100644
--- a/src/bridge.h
+++ b/src/bridge.h
@@ -44,7 +44,7 @@ static inline const BridgeSpec *GetBridgeSpec(BridgeType i)
void DrawBridgeMiddle(const TileInfo *ti);
-bool CheckBridge_Stuff(BridgeType bridge_type, uint bridge_len);
+bool CheckBridge_Stuff(BridgeType bridge_type, uint bridge_len, uint32 flags = 0);
int CalcBridgeLenCostFactor(int x);
void ResetBridges();