summaryrefslogtreecommitdiffhomepage
path: root/src/character.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/character.cpp')
-rw-r--r--src/character.cpp2
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);