diff options
author | tron <tron@openttd.org> | 2007-02-25 11:36:19 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2007-02-25 11:36:19 +0000 |
commit | c0ec367e9ba15929dee027670702e93eac02fab2 (patch) | |
tree | 7356de7ae644522ac46c52158203c96f0a69cb23 /src/rail_map.h | |
parent | 05c6e8f883e06059daa9ea777f8181ff0f2ab8ef (diff) | |
download | openttd-c0ec367e9ba15929dee027670702e93eac02fab2.tar.xz |
(svn r8899) -Fix
Remove the unused second parameter from GetTileRailType()
Diffstat (limited to 'src/rail_map.h')
-rw-r--r-- | src/rail_map.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/rail_map.h b/src/rail_map.h index 60c7f3f6f..6efc2824d 100644 --- a/src/rail_map.h +++ b/src/rail_map.h @@ -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 { |