diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-06 11:49:09 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-06 11:49:09 +0200 |
commit | f09839d02ee959b6b322ce22b2930d987251739c (patch) | |
tree | 37f447b7b3fe1454af5c9bc12c91620674216cbb /test | |
parent | 0ae7af6e1c6a4d30acddb4e2a0a4791aa02909d2 (diff) |
a
Diffstat (limited to 'test')
-rw-r--r-- | test/path-search.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/path-search.cpp b/test/path-search.cpp index 49d7c7b9..269c8c79 100644 --- a/test/path-search.cpp +++ b/test/path-search.cpp @@ -24,11 +24,11 @@ void test_bbox() }; static constexpr auto bbox = [](Vector2i coord, rotation r) { - return path_search::make_neighbor_tile_bbox(coord, {}, {1,1}, r); + return path_search::neighbor_tile_bbox(coord, {}, { 1, 1 }, r); }; constexpr auto neighbor_tiles = [](world& w, chunk_coords_ ch, Vector2i pos) { - return path_search::get_walkable_neighbor_tiles(w, {ch, pos}, {}, (object_id)-1); + return path_search::neighbor_tiles(w, { ch, pos }, {}, (object_id)-1); }; const auto metal2 = loader.tile_atlas("metal2", {2, 2}, pass_mode::blocked); |