summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tunnelbridge_cmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tunnelbridge_cmd.c b/tunnelbridge_cmd.c
index e2ab0b096..0059b5f5b 100644
--- a/tunnelbridge_cmd.c
+++ b/tunnelbridge_cmd.c
@@ -1123,6 +1123,7 @@ static uint GetSlopeZ_TunnelBridge(const TileInfo* ti)
uint f = _bridge_foundations[GetBridgeAxis(tile)][tileh];
if (f != 0) {
+ if (f == 1) return z;
if (f < 15) return z + 8;
tileh = _inclined_tileh[f - 15];
}