summaryrefslogtreecommitdiff
path: root/src/bridge.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2008-01-22 16:08:17 +0000
committerfrosch <frosch@openttd.org>2008-01-22 16:08:17 +0000
commitb99c83246b4029f91579712ae9044fa9e1f6b2c9 (patch)
tree78534c41444e96dbc9179ae15b7f8cbdddcaa1c4 /src/bridge.h
parent7d1e3086b8dfb7ffdf75478e159ce90543a1ee6e (diff)
downloadopenttd-b99c83246b4029f91579712ae9044fa9e1f6b2c9.tar.xz
(svn r11946) -Fix: slope detection of bridge ramps.
YAPF failed for steep slopes. Trolly failed for a lot.
Diffstat (limited to 'src/bridge.h')
-rw-r--r--src/bridge.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bridge.h b/src/bridge.h
index 9ed6c559e..0f17980b1 100644
--- a/src/bridge.h
+++ b/src/bridge.h
@@ -32,6 +32,7 @@ extern const Bridge orig_bridge[MAX_BRIDGES];
extern Bridge _bridge[MAX_BRIDGES];
Foundation GetBridgeFoundation(Slope tileh, Axis axis);
+bool HasBridgeFlatRamp(Slope tileh, Axis axis);
static inline const Bridge *GetBridge(uint i)
{