summaryrefslogtreecommitdiff
path: root/src/track_func.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/track_func.h')
-rw-r--r--src/track_func.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/track_func.h b/src/track_func.h
index 689679237..68de827ef 100644
--- a/src/track_func.h
+++ b/src/track_func.h
@@ -594,7 +594,7 @@ static inline TrackdirBits TrackdirReachesTrackdirs(Trackdir trackdir)
static inline TrackdirBits TrackdirCrossesTrackdirs(Trackdir trackdir)
{
assert(IsValidTrackdirForRoadVehicle(trackdir));
- extern const TrackdirBits _track_crosses_trackdirs[TRACKDIR_END];
+ extern const TrackdirBits _track_crosses_trackdirs[TRACK_END];
return _track_crosses_trackdirs[TrackdirToTrack(trackdir)];
}