File diff r15612:c4c9adbab3f3 → r15613:193c12018337
src/ship_cmd.cpp
Show inline comments
 
@@ -374,13 +374,14 @@ static void ShipArrivesAt(const Vehicle 
 
}
 

	
 

	
 
/**
 
 * returns the track to choose on the next tile, or -1 when it's better to
 
 * reverse. The tile given is the tile we are about to enter, enterdir is the
 
 * direction in which we are entering the tile */
 
 * direction in which we are entering the tile
 
 */
 
static Track ChooseShipTrack(const Ship *v, TileIndex tile, DiagDirection enterdir, TrackBits tracks)
 
{
 
	assert(IsValidDiagDirection(enterdir));
 

	
 
	switch (_settings_game.pf.pathfinder_for_ships) {
 
		case VPF_OPF: return OPFShipChooseTrack(v, tile, enterdir, tracks);