summaryrefslogtreecommitdiff
path: root/ai.c
diff options
context:
space:
mode:
Diffstat (limited to 'ai.c')
-rw-r--r--ai.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ai.c b/ai.c
index 4f0b3ea4f..09ca26fc6 100644
--- a/ai.c
+++ b/ai.c
@@ -3700,7 +3700,7 @@ pos_3:
} else if (IsTileType(tile, MP_STREET)) {
if (!IsTileOwner(tile, _current_player)) return;
- if ( (_map5[tile]&0xF0) == 0x10)
+ if (IsLevelCrossing(tile))
goto is_rail_crossing;
if ( (_map5[tile]&0xF0) == 0x20) {