summaryrefslogtreecommitdiff
path: root/src/bridge.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-02-09 21:20:05 +0000
committerrubidium <rubidium@openttd.org>2009-02-09 21:20:05 +0000
commit5c8cf856136922426be87d778d525e024813648c (patch)
treea4f2317ed234736c522ee05672396684eadbc141 /src/bridge.h
parent545804b67a6b945727695afe1438f1a11b71c610 (diff)
downloadopenttd-5c8cf856136922426be87d778d525e024813648c.tar.xz
(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.
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 b037316d8..4b98673df 100644
--- a/src/bridge.h
+++ b/src/bridge.h
@@ -61,7 +61,7 @@ static inline const BridgeSpec *GetBridgeSpec(BridgeType i)
void DrawBridgeMiddle(const TileInfo *ti);
-bool CheckBridge_Stuff(BridgeType bridge_type, uint bridge_len, uint32 flags = 0);
+bool CheckBridge_Stuff(BridgeType bridge_type, uint bridge_len, DoCommandFlag flags = DC_NONE);
int CalcBridgeLenCostFactor(int x);
void ResetBridges();