(svn r8899) -Fix

Remove the unused second parameter from GetTileRailType()
This commit is contained in:
tron
2007-02-25 11:36:19 +00:00
parent 05c6e8f883
commit c0ec367e9b
6 changed files with 8 additions and 12 deletions

View File

@@ -261,12 +261,8 @@ static inline SignalState GetSignalStateByTrackdir(TileIndex tile, Trackdir trac
/**
* Return the rail type of tile, or INVALID_RAILTYPE if this is no rail tile.
* Note that there is no check if the given trackdir is actually present on
* the tile!
* The given trackdir is used when there are (could be) multiple rail types on
* one tile.
*/
RailType GetTileRailType(TileIndex tile, Track track);
RailType GetTileRailType(TileIndex tile);
typedef enum RailGroundType {