mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
Fix #7001: Pathfinders should see standard road stations as tiles where to reverse.
This commit is contained in:
parent
15a7f9da9d
commit
19a2f84943
@ -410,8 +410,9 @@ protected:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* single tram bits cause reversing */
|
/* Single tram bits and standard road stops cause reversing. */
|
||||||
if (IsTram() && GetSingleTramBit(m_old_tile) == ReverseDiagDir(m_exitdir)) {
|
if (IsRoadTT() && ((IsTram() && GetSingleTramBit(m_old_tile) == ReverseDiagDir(m_exitdir)) ||
|
||||||
|
(IsStandardRoadStopTile(m_old_tile) && GetRoadStopDir(m_old_tile) == ReverseDiagDir(m_exitdir)))) {
|
||||||
/* reverse */
|
/* reverse */
|
||||||
m_new_tile = m_old_tile;
|
m_new_tile = m_old_tile;
|
||||||
m_new_td_bits = TrackdirToTrackdirBits(ReverseTrackdir(m_old_td));
|
m_new_td_bits = TrackdirToTrackdirBits(ReverseTrackdir(m_old_td));
|
||||||
|
Loading…
Reference in New Issue
Block a user