summaryrefslogtreecommitdiff
path: root/src/bridge.h
diff options
context:
space:
mode:
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 ba4a07a6e..052313e24 100644
--- a/src/bridge.h
+++ b/src/bridge.h
@@ -67,7 +67,7 @@ static inline const BridgeSpec *GetBridgeSpec(BridgeType i)
void DrawBridgeMiddle(const TileInfo *ti);
-bool CheckBridgeAvailability(BridgeType bridge_type, uint bridge_len, DoCommandFlag flags = DC_NONE);
+CommandCost CheckBridgeAvailability(BridgeType bridge_type, uint bridge_len, DoCommandFlag flags = DC_NONE);
int CalcBridgeLenCostFactor(int x);
void ResetBridges();