diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-08-28 17:35:38 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-09-20 16:08:46 +0200 |
| commit | 093f90ce1dfc7f5b5369357eecb239ac8db81eea (patch) | |
| tree | 1451edf10a4bdb730ba79ddd845bd20f98bfe9db /src/chunk.hpp | |
| parent | d34cf9c575fef03c6505939fa77ebedabfae413a (diff) | |
d
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; |
