summaryrefslogtreecommitdiffhomepage
path: root/src/character.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/character.cpp')
-rw-r--r--src/character.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/character.cpp b/src/character.cpp
index c16fce35..ed9ce4fa 100644
--- a/src/character.cpp
+++ b/src/character.cpp
@@ -53,6 +53,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, const character_proto& proto) :
entity{id, c, type},
+ name{proto.name},
playable{proto.playable}
{
atlas = loader.anim_atlas("npc-walk", loader.ANIM_PATH);