summaryrefslogtreecommitdiffhomepage
path: root/src/entity.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-15 19:10:52 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-15 19:10:52 +0100
commitf9b74550252a9eaa19d779d8b4c9647a7c20d392 (patch)
tree2d1b56d569a494752e4d9c06bec7ff44d24fea8b /src/entity.hpp
parent2b52b695c25b373403c65e1df8ec0490539ccba7 (diff)
a
Diffstat (limited to 'src/entity.hpp')
-rw-r--r--src/entity.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entity.hpp b/src/entity.hpp
index 39816a2d..6bfad752 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/2);
+ Vector2ub bbox_size = Vector2ub(iTILE_SIZE2);
std::uint16_t delta = 0, frame = 0;
entity_type type = entity_type::none;
rotation r : rotation_BITS = rotation::N;