File diff r25708:126008a1bb06 → r25709:feac296d221b
src/pathfinder/npf/npf.cpp
Show inline comments
 
@@ -826,9 +826,7 @@ static bool CanEnterTile(TileIndex tile,
 

	
 
	/* Depots, standard roadstops and single tram bits can only be entered from one direction */
 
	DiagDirection single_entry = GetTileSingleEntry(tile, user->type, user->subtype);
 
	if (single_entry != INVALID_DIAGDIR && single_entry != ReverseDiagDir(dir)) return false;
 

	
 
	return true;
 
	return single_entry == INVALID_DIAGDIR || single_entry == ReverseDiagDir(dir);
 
}
 

	
 
/**