From 3dae1a9bbaa78b4cd8c9aacea2b6a4165b7975a1 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 9 May 2006 08:17:33 +0000 Subject: (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 --- ai/default/default.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ai/default') diff --git a/ai/default/default.c b/ai/default/default.c index 0a88db97a..3740ae046 100644 --- a/ai/default/default.c +++ b/ai/default/default.c @@ -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); } -- cgit v1.2.3-70-g09d2