summaryrefslogtreecommitdiff
path: root/road_cmd.c
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
commit793613a2864a93a519a5b92ca7a8fb030be082ee (patch)
treedae13aff0b6fbd0ab4a8965999993d18ae8aa952 /road_cmd.c
parentb404072ccc43fad529e8cf13532e646d3d4767d5 (diff)
downloadopenttd-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 'road_cmd.c')
-rw-r--r--road_cmd.c4
1 files changed, 2 insertions, 2 deletions
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;