From 2b52b695c25b373403c65e1df8ec0490539ccba7 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 15 Mar 2023 18:35:48 +0100 Subject: a --- src/entity.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/entity.hpp b/src/entity.hpp index 6bfad752..39816a2d 100644 --- a/src/entity.hpp +++ b/src/entity.hpp @@ -18,7 +18,7 @@ struct entity_proto { std::shared_ptr atlas; Vector2b offset, bbox_offset; - Vector2ub bbox_size = Vector2ub(iTILE_SIZE2); + Vector2ub bbox_size = Vector2ub(iTILE_SIZE2/2); std::uint16_t delta = 0, frame = 0; entity_type type = entity_type::none; rotation r : rotation_BITS = rotation::N; -- cgit v1.2.3