summaryrefslogtreecommitdiff
path: root/src/rail_map.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2007-02-25 11:36:19 +0000
committertron <tron@openttd.org>2007-02-25 11:36:19 +0000
commitc0ec367e9ba15929dee027670702e93eac02fab2 (patch)
tree7356de7ae644522ac46c52158203c96f0a69cb23 /src/rail_map.h
parent05c6e8f883e06059daa9ea777f8181ff0f2ab8ef (diff)
downloadopenttd-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.h6
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 {