diff options
author | tron <tron@openttd.org> | 2006-03-19 12:06:12 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-03-19 12:06:12 +0000 |
commit | 77e5cf4bc1137805a8e69e6a8ce1370af09dd8d8 (patch) | |
tree | b86bb7662c2be1ce87ebc168346f1677af2a26e4 /pathfind.c | |
parent | ba53ec750a05c8e0e316c8f5838cfad7f9fd13de (diff) | |
download | openttd-77e5cf4bc1137805a8e69e6a8ce1370af09dd8d8.tar.xz |
(svn r3979) Move GetRailFoundation() to rail_map.h and use it and friends to get information about rail tiles
Diffstat (limited to 'pathfind.c')
-rw-r--r-- | pathfind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pathfind.c b/pathfind.c index f548c90e2..b70e51887 100644 --- a/pathfind.c +++ b/pathfind.c @@ -782,7 +782,7 @@ start_at: } /* Regular rail tile, determine which tracks exist. */ - allbits = _m[tile].m5 & TRACK_BIT_MASK; + allbits = GetTrackBits(tile); /* Which tracks are reachable? */ bits = allbits & DiagdirReachesTracks(direction); |