diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-16 09:24:27 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-17 23:23:11 +0100 |
commit | c699da23c93ce840da2f87749efe0a69c3c37335 (patch) | |
tree | 401465e64f4cb0167985a9727f8574fc10b45756 /src/character.cpp | |
parent | a1df7c84a5c49adb3b8e8cd3796fd53a02684dd5 (diff) |
a
Diffstat (limited to 'src/character.cpp')
-rw-r--r-- | src/character.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/character.cpp b/src/character.cpp index 80bfaf8b..ca7803cf 100644 --- a/src/character.cpp +++ b/src/character.cpp @@ -54,7 +54,7 @@ constexpr auto arrows_to_dir(bool L, bool R, bool U, bool D) character::character(std::uint64_t id, struct chunk& c, entity_type type) : entity{id, c, type} { atlas = loader.anim_atlas("npc-walk", loader.ANIM_PATH); - bbox_size = {12, 12}; + bbox_size = Vector2ub(iTILE_SIZE2/2); } character::~character() = default; |