summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-06-08 02:21:37 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-06-08 02:21:37 +0200
commit8ed163a3e464f9cd8621c7fdc9ad5f9fca3d5d85 (patch)
tree44f342abebd3ae5a9dc2d9f138e9ed4afd39dc8d
parenta93f9574e2857a01c2fc339f13eff9aa440974e5 (diff)
c
-rw-r--r--src/chunk-collision.cpp2
1 files changed, 1 insertions, 1 deletions
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<object>& eʹʹ : c.objects())