summaryrefslogtreecommitdiffhomepage
path: root/src/character.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-17 19:23:14 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-17 23:23:12 +0100
commit1d4b76f4429334b8d1a18cb50a9ceea04c10443e (patch)
tree1c37a8034b7eb541c66cb9c4f7f56449db1984a5 /src/character.cpp
parent8c9175cc8e09fc1a714cab93860e9c533667f6c4 (diff)
a
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);