diff options
author | rubidium <rubidium@openttd.org> | 2006-05-09 08:17:33 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2006-05-09 08:17:33 +0000 |
commit | 3dae1a9bbaa78b4cd8c9aacea2b6a4165b7975a1 (patch) | |
tree | 975779e5070a23a2c674c5848eaf2fef8b8d766a /ai/default | |
parent | 3c76fd331a58406313173ab0711f1aaf543c3a7e (diff) | |
download | openttd-3dae1a9bbaa78b4cd8c9aacea2b6a4165b7975a1.tar.xz |
(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
Diffstat (limited to 'ai/default')
-rw-r--r-- | ai/default/default.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |