summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2006-06-02 21:03:59 +0000
committercelestar <celestar@openttd.org>2006-06-02 21:03:59 +0000
commit8c01bf711d86b03b4d4abc13d01200c9636be7a7 (patch)
tree8dbcf37fe787583cdd7aae1dcbac6d2a4d2feb21
parent47bf194723a6d8b61b3524f1cdba45ece56d7a83 (diff)
downloadopenttd-8c01bf711d86b03b4d4abc13d01200c9636be7a7.tar.xz
(svn r5081) -Fix: Could not build bridges over crossings (but crossings under bridges were possible), noticed by WhiteRabbit
-rw-r--r--tunnelbridge_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tunnelbridge_cmd.c b/tunnelbridge_cmd.c
index 2ffb77db1..a0db5468b 100644
--- a/tunnelbridge_cmd.c
+++ b/tunnelbridge_cmd.c
@@ -344,7 +344,7 @@ int32 CmdBuildBridge(TileIndex end_tile, uint32 flags, uint32 p1, uint32 p2)
break;
case MP_STREET:
- if (GetRoadTileType(tile) != ROAD_TILE_NORMAL) goto not_valid_below;
+ if (GetRoadTileType(tile) == ROAD_TILE_DEPOT) goto not_valid_below;
break;
case MP_TUNNELBRIDGE: