diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-15 18:35:48 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-15 18:35:48 +0100 |
commit | 2b52b695c25b373403c65e1df8ec0490539ccba7 (patch) | |
tree | 48dde64750765eaf78f57de875e9158aef6c5a22 /src | |
parent | 05f6826cca6f644444ddb6aaede4955500d48f3b (diff) |
a
Diffstat (limited to 'src')
-rw-r--r-- | src/entity.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<anim_atlas> 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; |