Changeset - r3415:d6d6acfe4e77
[Not reviewed]
master
0 1 0
tron - 19 years ago 2006-04-02 07:05:35
tron@openttd.org
(svn r4230) The road is asked for, not the rail. Undo part of r4164. (Pointed out by peter1138)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
road_cmd.c
Show inline comments
 
@@ -1012,7 +1012,7 @@ static uint32 GetTileTrackStatus_Road(Ti
 
						0 : _road_trackbits[GetRoadBits(tile)] * 0x101;
 

	
 
				case ROAD_CROSSING: {
 
					uint32 r = GetCrossingRailBits(tile) * 0x101;
 
					uint32 r = (GetCrossingRoadAxis(tile) == AXIS_X ? TRACK_BIT_X : TRACK_BIT_Y) * 0x101;
 

	
 
					if (IsCrossingBarred(tile)) r *= 0x10001;
 
					return r;
0 comments (0 inline, 0 general)