diff options
author | Darkvater <darkvater@openttd.org> | 2005-06-07 21:37:00 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2005-06-07 21:37:00 +0000 |
commit | 0171aae10965259aa146749b0bd6e47ad9d3e4f7 (patch) | |
tree | 25e2a197e45756770b59b3d230e466026cb1ca95 /ai.c | |
parent | fa8f46c0b7f4723c12ddefd77d619ca98b6c7c6c (diff) | |
download | openttd-0171aae10965259aa146749b0bd6e47ad9d3e4f7.tar.xz |
(svn r2433) - CodeChange: unmagicify all road/train crossings with IsLevelCrossing() function (peter1138)
Diffstat (limited to 'ai.c')
-rw-r--r-- | ai.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |