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 GitHub
parent cff48c0f63
commit b2ca6e1ac8
3 changed files with 5 additions and 18 deletions

View File

@@ -533,7 +533,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();
}
}