forked from mirror/OpenTTD
(svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple road types on a single tile.
This commit is contained in:
@@ -168,7 +168,7 @@ static void GenericPlaceSignals(TileIndex tile)
|
||||
byte trackstat;
|
||||
uint i;
|
||||
|
||||
trackstat = (byte)GetTileTrackStatus(tile, TRANSPORT_RAIL);
|
||||
trackstat = (byte)GetTileTrackStatus(tile, TRANSPORT_RAIL, 0);
|
||||
|
||||
if (trackstat & TRACK_BIT_VERT) // N-S direction
|
||||
trackstat = (_tile_fract_coords.x <= _tile_fract_coords.y) ? TRACK_BIT_RIGHT : TRACK_BIT_LEFT;
|
||||
|
Reference in New Issue
Block a user