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
commitd87b6c39377a21aacf4cc1554044eebf75ca5447 (patch)
tree1a2e268636bd1b5c36ffe7965e143b2f1695cfa3 /src/bridge.h
parent7772e9e68f076c4851248c9e945f14d878c659f0 (diff)
downloadopenttd-d87b6c39377a21aacf4cc1554044eebf75ca5447.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();