(svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple road types on a single tile.

This commit is contained in:
rubidium
2007-05-24 22:41:50 +00:00
parent b82676be2a
commit 440d723d84
32 changed files with 108 additions and 81 deletions

View File

@@ -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;