summaryrefslogtreecommitdiff
path: root/rail_map.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-03-01 09:40:34 +0000
committertron <tron@openttd.org>2006-03-01 09:40:34 +0000
commit7b106a3d8f2840dc9b2fc4fb9a945d4c8834046a (patch)
treedae13aff0b6fbd0ab4a8965999993d18ae8aa952 /rail_map.h
parent28fc670fe2e053cf37784bac0e85812e5509eb15 (diff)
downloadopenttd-7b106a3d8f2840dc9b2fc4fb9a945d4c8834046a.tar.xz
(svn r3697) Rename DIAG1/DIAG2 to X resp. Y as this conveys a bit better in which direction a pieces of rail goes
Diffstat (limited to 'rail_map.h')
-rw-r--r--rail_map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rail_map.h b/rail_map.h
index 35a0ddfd3..9affa2247 100644
--- a/rail_map.h
+++ b/rail_map.h
@@ -10,7 +10,7 @@
static inline TrackBits GetRailWaypointBits(TileIndex t)
{
- return _m[t].m5 & RAIL_WAYPOINT_TRACK_MASK ? TRACK_BIT_DIAG2 : TRACK_BIT_DIAG1;
+ return _m[t].m5 & RAIL_WAYPOINT_TRACK_MASK ? TRACK_BIT_Y : TRACK_BIT_X;
}