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
commitf352512c8d2cbbfac3890c0b6c5485e17d249e0f (patch)
treead75987fea7038b7d153dfab740e00e18dfa1957 /src
parented1e40296046311896c1a2cfa8653f191503a977 (diff)
downloadopenttd-f352512c8d2cbbfac3890c0b6c5485e17d249e0f.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)
{