Codefix: Remove no-longer used ship special-case. (#12192)

This special-case has not been triggered since multi-tile docks were introduced.
This commit is contained in:
Peter Nelson
2024-03-03 09:31:04 +00:00
committed by Loïc Guilloux
parent b3c704a630
commit 9baff60f66
3 changed files with 5 additions and 18 deletions

View File

@@ -535,7 +535,7 @@ static Track ChooseShipTrack(Ship *v, TileIndex tile, DiagDirection enterdir, Tr
switch (_settings_game.pf.pathfinder_for_ships) {
case VPF_NPF: track = NPFShipChooseTrack(v, path_found); break;
case VPF_YAPF: track = YapfShipChooseTrack(v, tile, enterdir, tracks, path_found, v->path); break;
case VPF_YAPF: track = YapfShipChooseTrack(v, tile, enterdir, path_found, v->path); break;
default: NOT_REACHED();
}
}