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
commit8a72af3a13f1046d5ec26cbc95babc3712ba1509 (patch)
tree78534c41444e96dbc9179ae15b7f8cbdddcaa1c4 /src/bridge.h
parent1d219ad7b650b606383cb2499fe70397a26cbff3 (diff)
downloadopenttd-8a72af3a13f1046d5ec26cbc95babc3712ba1509.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)
{