From b2720141c73d7e6770774e832786d00d17a02e19 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 24 Feb 2024 22:43:36 +0100 Subject: default to filtering out critters from region --- test/path-search.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test') 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; -- cgit v1.2.3