(svn r5081) -Fix: Could not build bridges over crossings (but crossings under bridges were possible), noticed by WhiteRabbit
authorcelestar
Fri, 02 Jun 2006 21:03:59 +0000
changeset 3938 73c210a59c43
parent 3937 60b89172e88e
child 3939 ad6a197e1c2f
(svn r5081) -Fix: Could not build bridges over crossings (but crossings under bridges were possible), noticed by WhiteRabbit
tunnelbridge_cmd.c
--- a/tunnelbridge_cmd.c	Fri Jun 02 19:29:11 2006 +0000
+++ b/tunnelbridge_cmd.c	Fri Jun 02 21:03:59 2006 +0000
@@ -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: