diff options
Diffstat (limited to 'src/chunk.hpp')
| -rw-r--r-- | src/chunk.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/chunk.hpp b/src/chunk.hpp index 335d3440..f49a9653 100644 --- a/src/chunk.hpp +++ b/src/chunk.hpp @@ -4,7 +4,6 @@ #include "local-coords.hpp" #include "src/RTree-fwd.h" #include "global-coords.hpp" -#include "wall-defs.hpp" #include "search-pred.hpp" #include "hole-cut.hpp" #include <array> @@ -98,7 +97,7 @@ public: [[nodiscard]] bool can_place_object(const object_proto& proto, local_coords pos); [[nodiscard]] bool find_hole_in_bbox(CutResult<float>::rect& hole, Vector2 min, Vector2 max); - [[nodiscard]] static bool find_hole_in_bbox(CutResult<float>::rect& hole, Chunk_RTree& rtree, Vector2 min, Vector2 max); + [[nodiscard]] static bool find_hole_in_bbox(CutResult<float>::rect& hole, const Chunk_RTree& rtree, Vector2 min, Vector2 max); void on_teardown(); bool is_teardown() const; |
