summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-02-24 22:20:31 +0000
committerglx <glx@openttd.org>2008-02-24 22:20:31 +0000
commitc78b1b388e12252561035338efe644cc5973e9a4 (patch)
treead75987fea7038b7d153dfab740e00e18dfa1957 /src
parent56c9c0a612cdf55168fdb63bb0521c2419982d58 (diff)
downloadopenttd-c78b1b388e12252561035338efe644cc5973e9a4.tar.xz
(svn r12239) -Fix [FS#1800] (r9729): inverted comments for SetRailType() and GetTrackBits() (michi_cc)
Diffstat (limited to 'src')
-rw-r--r--src/rail_map.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/rail_map.h b/src/rail_map.h
index 4187a70db..195246e5e 100644
--- a/src/rail_map.h
+++ b/src/rail_map.h
@@ -103,9 +103,9 @@ static inline RailType GetRailType(TileIndex t)
}
/**
- * Sets the track bits of the given tile
- * @param t the tile to set the track bits of
- * @param r the new track bits for the tile
+ * Sets the rail type of the given tile
+ * @param t the tile to set the rail type of
+ * @param r the new rail type for the tile
*/
static inline void SetRailType(TileIndex t, RailType r)
{
@@ -114,9 +114,9 @@ static inline void SetRailType(TileIndex t, RailType r)
/**
- * Gets the rail type of the given tile
- * @param t the tile to get the rail type from
- * @return the rail type of the tile
+ * Gets the track bits of the given tile
+ * @param t the tile to get the track bits from
+ * @return the track bits of the tile
*/
static inline TrackBits GetTrackBits(TileIndex tile)
{