forked from mirror/OpenTTD
(svn r4788) - Codechange: RAILTYPE_{NORMAL,ELECTRIC,...} and RAIL_TYPE_{NORMAL,SIGNAL,...} have nearly the same name, rename RAIL_TYPE_* to RAIL_TILE_* of extra clarity
This commit is contained in:
@@ -323,7 +323,7 @@ int32 CmdBuildRoad(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
|
||||
}
|
||||
#undef M
|
||||
|
||||
if (GetRailTileType(tile) != RAIL_TYPE_NORMAL) goto do_clear;
|
||||
if (GetRailTileType(tile) != RAIL_TILE_NORMAL) goto do_clear;
|
||||
switch (GetTrackBits(tile)) {
|
||||
case TRACK_BIT_X:
|
||||
if (pieces & ROAD_X) goto do_clear;
|
||||
|
Reference in New Issue
Block a user