summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/npcdialog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/npcdialog.cpp b/src/gui/npcdialog.cpp
index bddbbaf46..27a5dbf43 100644
--- a/src/gui/npcdialog.cpp
+++ b/src/gui/npcdialog.cpp
@@ -190,7 +190,10 @@ NpcDialog::NpcDialog(const int npcId) :
{
const Being *const being = actorSpriteManager->findBeing(mNpcId);
if (being)
+ {
showAvatar(NPCDB::getAvatarFor(being->getSubType()));
+ setCaption(being->getName());
+ }
}
config.addListener("logNpcInGui", this);