(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.
replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
peter1138 18 years ago
parent 4caf8a8b17
commit 91a59bfd97

@ -341,8 +341,8 @@ static void TPFMode1(TrackPathFinder* tpf, TileIndex tile, DiagDirection directi
if (tpf->hasbit_13)
return;
tile = tile_org;
direction = ReverseDiagDir(direction);
tile += TileOffsByDiagDir(direction);
bits = GetTileTrackStatus(tile, tpf->tracktype);
bits |= (bits >> 8);

Loading…
Cancel
Save