From 793613a2864a93a519a5b92ca7a8fb030be082ee Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 1 Mar 2006 09:40:34 +0000 Subject: (svn r3697) Rename DIAG1/DIAG2 to X resp. Y as this conveys a bit better in which direction a pieces of rail goes --- rail_map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rail_map.h') 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; } -- cgit v1.2.3-54-g00ecf