From 8ed163a3e464f9cd8621c7fdc9ad5f9fca3d5d85 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 8 Jun 2024 02:21:37 +0200 Subject: c --- src/chunk-collision.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chunk-collision.cpp b/src/chunk-collision.cpp index b112f95d..3263d738 100644 --- a/src/chunk-collision.cpp +++ b/src/chunk-collision.cpp @@ -38,7 +38,7 @@ bool add_holes_from_chunk(chunk::RTree& rtree, chunk& c, Vector2b chunk_offset) { bool has_holes = false; constexpr auto chunk_size = iTILE_SIZE2 * TILE_MAX_DIM; - constexpr auto max_bbox_size = Vector2i{0xff, 0xff}; + constexpr auto max_bbox_size = Vector2i{0x100}; constexpr auto chunk_min = -iTILE_SIZE2/2 - max_bbox_size/2, chunk_max = TILE_MAX_DIM * iTILE_SIZE2 - iTILE_SIZE2 / 2 + max_bbox_size; for (const std::shared_ptr& eʹʹ : c.objects()) -- cgit v1.2.3