changeset 3938:0a5c6a4776ca draft

(svn r5081) -Fix: Could not build bridges over crossings (but crossings under bridges were possible), noticed by WhiteRabbit
author celestar <celestar@openttd.org>
date Fri, 02 Jun 2006 21:03:59 +0000
parents 66511dcec978
children 092e19a5110e
files tunnelbridge_cmd.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tunnelbridge_cmd.c
+++ b/tunnelbridge_cmd.c
@@ -344,7 +344,7 @@
 				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: