diff options
Diffstat (limited to 'src/path-search.hpp')
-rw-r--r-- | src/path-search.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path-search.hpp b/src/path-search.hpp index f044a381..cb58f531 100644 --- a/src/path-search.hpp +++ b/src/path-search.hpp @@ -87,7 +87,7 @@ public: Optional<search_result> operator()(world& w, const object& obj, global_coords to, Vector2b to_offset); static bool sample_rtree_1(chunk& c, Vector2 min, Vector2 max, object_id own_id); - static bool sample_rtree(world& w, chunk_coords_ ch0, Vector2 center, Vector2 size, object_id own_id); + static bool sample_rtree(world& w, chunk_coords_ ch0, Vector2 min, Vector2 max, object_id own_id); static bool sample_rtree(world& w, global_coords coord, Vector2b offset, Vector2ub size, object_id own_id); static bbox make_neighbor_tile_bbox(Vector2i coord, Vector2ub own_size, rotation r); |