| 1703 | } |
| 1704 | |
| 1705 | bool SearchLOT(LOTInfo* LOT, int depth) |
| 1706 | { |
| 1707 | auto mode = g_GameFlow->GetSettings()->Pathfinding.Mode; |
| 1708 | |
| 1709 | if (mode == PathfindingMode::BFS) |
| 1710 | return SearchLOT_BFS(LOT, depth); |
| 1711 | |
| 1712 | return SearchLOT_DijkstraAStar(LOT, depth, mode); |
| 1713 | } |
| 1714 | |
| 1715 | bool CanExpandToBox(LOTInfo* LOT, int fromBox, int toBox, int overlapFlags, int searchZone, const std::vector<int>& zone) |
| 1716 | { |
no test coverage detected