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