Skip to content

Commit

Permalink
fix NPC display name (#4800)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturKnopik authored Oct 8, 2024
1 parent e3b6961 commit 6a2e060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/npc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ Npc* Npc::createNpc(const std::string& name)
}
}
Npc* npc = new Npc(name);
npc->setName(name);
npc->setName(npcType->name);
npc->loaded = true;
npc->npcType = npcType;
npc->loadNpcTypeInfo();
Expand Down

0 comments on commit 6a2e060

Please sign in to comment.