diff options
author | tron <tron@openttd.org> | 2006-03-01 09:40:34 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-03-01 09:40:34 +0000 |
commit | 793613a2864a93a519a5b92ca7a8fb030be082ee (patch) | |
tree | dae13aff0b6fbd0ab4a8965999993d18ae8aa952 /rail_map.h | |
parent | b404072ccc43fad529e8cf13532e646d3d4767d5 (diff) | |
download | openttd-793613a2864a93a519a5b92ca7a8fb030be082ee.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.h | 2 |
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; } |