diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-24 22:43:36 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-24 22:43:36 +0100 |
commit | b2720141c73d7e6770774e832786d00d17a02e19 (patch) | |
tree | 1b6f70839dac0fca836dc155ab35db4862eabfc3 /test/path-search.cpp | |
parent | 22949e3a9c8136b23d184b3bf8b5e5cbc234ab2f (diff) |
default to filtering out critters from region
Diffstat (limited to 'test/path-search.cpp')
-rw-r--r-- | test/path-search.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/path-search.cpp b/test/path-search.cpp index 99a2b0a8..4541d3f6 100644 --- a/test/path-search.cpp +++ b/test/path-search.cpp @@ -11,7 +11,6 @@ namespace floormat { using namespace floormat::detail_astar; -using pred = path_search::pred; using detail_astar::bbox; namespace { @@ -176,7 +175,7 @@ void test_bbox() }; constexpr auto neighbors = [](world& w, chunk_coords_ ch, Vector2i pos) { - return neighbor_tiles(w, { ch, pos }, {}, (object_id)-1, path_search::never_continue()); + return neighbor_tiles(w, { ch, pos }, {}, (object_id)-1, never_continue()); }; const auto wall = loader.invalid_wall_atlas().atlas; |