(svn r3697) Rename DIAG1/DIAG2 to X resp. Y as this conveys a bit better in which direction a pieces of rail goes

This commit is contained in:
tron
2006-03-01 09:40:34 +00:00
parent b404072ccc
commit 793613a286
8 changed files with 108 additions and 110 deletions

View File

@@ -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;