(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:
rubidium
2006-05-09 08:17:33 +00:00
parent a0e387597a
commit 9b1bbf72ee
15 changed files with 55 additions and 55 deletions

View File

@@ -2184,7 +2184,7 @@ static bool AiRemoveTileAndGoForward(Player *p)
// Then remove and signals if there are any.
if (IsTileType(tile, MP_RAILWAY) &&
GetRailTileType(tile) == RAIL_TYPE_SIGNALS) {
GetRailTileType(tile) == RAIL_TILE_SIGNALS) {
DoCommand(tile, 0, 0, DC_EXEC, CMD_REMOVE_SIGNALS);
}