summaryrefslogtreecommitdiff
path: root/tunnelbridge_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-03-13 15:38:52 +0000
committertron <tron@openttd.org>2006-03-13 15:38:52 +0000
commitb812bbeda3dc56720e57a66900dfe626455d3355 (patch)
tree6d1017f25175cfa271186e97797875791a4a5a96 /tunnelbridge_cmd.c
parente8ccd9641f6476fda141f02aa465e2a165451bde (diff)
downloadopenttd-b812bbeda3dc56720e57a66900dfe626455d3355.tar.xz
(svn r3849) Fix bug in r3846
Diffstat (limited to 'tunnelbridge_cmd.c')
-rw-r--r--tunnelbridge_cmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tunnelbridge_cmd.c b/tunnelbridge_cmd.c
index 219dc82d3..c04da682f 100644
--- a/tunnelbridge_cmd.c
+++ b/tunnelbridge_cmd.c
@@ -413,6 +413,7 @@ not_valid_below:;
_m[tile].m2 = (bridge_type << 4) | piece;
SB(_m[tile].m3, 4, 4, railtype);
+ _m[tile].m5 = 0xC0 | transport << 1 | direction;
switch (transport_under) {
case TRANSPORT_RAIL: SetRailUnderBridge(tile, owner_under, rail_under); break;
case TRANSPORT_ROAD: SetRoadUnderBridge(tile, owner_under); break;