(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.
This commit is contained in:
		@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user