mirror of https://github.com/OpenTTD/OpenTTD
(svn r7717) -Fix (runknown): When following path for signals, don't skip back to the
previous tile, as for tunnels & bridge ends the entering direction is wrong.release/0.6
parent
4caf8a8b17
commit
91a59bfd97
|
@ -341,8 +341,8 @@ static void TPFMode1(TrackPathFinder* tpf, TileIndex tile, DiagDirection directi
|
||||||
if (tpf->hasbit_13)
|
if (tpf->hasbit_13)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
tile = tile_org;
|
|
||||||
direction = ReverseDiagDir(direction);
|
direction = ReverseDiagDir(direction);
|
||||||
|
tile += TileOffsByDiagDir(direction);
|
||||||
|
|
||||||
bits = GetTileTrackStatus(tile, tpf->tracktype);
|
bits = GetTileTrackStatus(tile, tpf->tracktype);
|
||||||
bits |= (bits >> 8);
|
bits |= (bits >> 8);
|
||||||
|
|
Loading…
Reference in New Issue