1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-31 10:29:10 +00:00

Codefix: TrackdirCrossesTrackdirs does not work for turning RV TrackDirs

This commit is contained in:
Rubidium
2025-03-08 16:08:54 +01:00
committed by rubidium42
parent 0d902c9f5c
commit 3c7506e07d

View File

@@ -605,7 +605,7 @@ inline TrackdirBits TrackdirReachesTrackdirs(Trackdir trackdir)
*/
inline TrackdirBits TrackdirCrossesTrackdirs(Trackdir trackdir)
{
assert(IsValidTrackdirForRoadVehicle(trackdir));
assert(IsValidTrackdir(trackdir));
extern const TrackdirBits _track_crosses_trackdirs[TRACK_END];
return _track_crosses_trackdirs[TrackdirToTrack(trackdir)];
}