diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-17 07:01:45 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-17 23:23:11 +0100 |
commit | 34ae7b665919d05660263bf522c78ebdb735d30d (patch) | |
tree | d58a83c5b5b71763c71e51cf421079380cac00c1 /src/character.cpp | |
parent | 34a0239ad6e6d84bd0027d9029d0d74419247d01 (diff) |
aaa
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 b4e42a4f..e0645ddb 100644 --- a/src/character.cpp +++ b/src/character.cpp @@ -51,7 +51,7 @@ constexpr auto arrows_to_dir(bool L, bool R, bool U, bool D) } // namespace -character::character(std::uint64_t id, struct chunk& c, entity_type type) : entity{id, c, type} +character::character(std::uint64_t id, struct chunk& c, entity_type type, bool playable) : entity{id, c, type}, playable{playable} { atlas = loader.anim_atlas("npc-walk", loader.ANIM_PATH); bbox_size = Vector2ub(iTILE_SIZE2/2); |