summaryrefslogtreecommitdiff
path: root/ai
diff options
context:
space:
mode:
Diffstat (limited to 'ai')
-rw-r--r--ai/default/default.c2
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);
}