summaryrefslogtreecommitdiffhomepage
path: root/test/path-search.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/path-search.cpp')
-rw-r--r--test/path-search.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/path-search.cpp b/test/path-search.cpp
index bf0fa69b..0fdd80b5 100644
--- a/test/path-search.cpp
+++ b/test/path-search.cpp
@@ -12,11 +12,11 @@ namespace {
void test_bbox()
{
constexpr auto sample = [](chunk& c, search::bbox bb) {
- return search::sample_rtree_1(c, bb.min, bb.max, (object_id)-1);
+ return search::is_passable_1(c, bb.min, bb.max, (object_id)-1);
};
constexpr auto sample2 = [](world& w, chunk_coords_ ch, search::bbox bb) {
- return search::sample_rtree(w, ch, bb.min, bb.max, (object_id)-1);
+ return search::is_passable(w, ch, bb.min, bb.max, (object_id)-1);
};
constexpr auto bbox = [](Vector2i coord, rotation r) {