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 --- road_cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'road_cmd.c') diff --git a/road_cmd.c b/road_cmd.c index 3b2c8164e..152933390 100644 --- a/road_cmd.c +++ b/road_cmd.c @@ -239,10 +239,10 @@ int32 CmdRemoveRoad(int x, int y, uint32 flags, uint32 p1, uint32 p2) if (!(ti.map5 & 8)) { if (pieces & ROAD_Y) goto return_error; - track = TRACK_BIT_DIAG2; + track = TRACK_BIT_Y; } else { if (pieces & ROAD_X) goto return_error; - track = TRACK_BIT_DIAG1; + track = TRACK_BIT_X; } cost = _price.remove_road * 2; -- cgit v1.2.3-54-g00ecf