Changeset - r2865:b93bb3875e40
[Not reviewed]
master
0 1 0
peter1138 - 19 years ago 2006-01-21 20:34:17
peter1138@openttd.org
(svn r3413) - Fix: Under certain conditions placing a road tile parallel under a bridge would, instead of failing, succeed and place a perpendicular piece.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
road_cmd.c
Show inline comments
 
@@ -428,7 +428,7 @@ int32 CmdBuildRoad(int x, int y, uint32 
 
				goto do_clear;
 

	
 
		/* only allow roads pertendicular to bridge */
 
		if ((pieces & 5U) == (ti.map5 & 0x01U))
 
		if (((pieces & 5U) != 0) == ((ti.map5 & 0x01U) != 0))
 
				goto do_clear;
 

	
 
		/* check if clear land under bridge */
0 comments (0 inline, 0 general)