diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-27 23:30:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-29 00:18:56 +0300 |
commit | 9a93f235386bcb47887a33527478700df77dce94 (patch) | |
tree | c2383511fa2c963115dc9cf3926410a044ef5c78 /src | |
parent | b6fe6fbbedb48f1e60de3e4a33dff1d43c188ed2 (diff) | |
download | plus-9a93f235386bcb47887a33527478700df77dce94.tar.gz plus-9a93f235386bcb47887a33527478700df77dce94.tar.bz2 plus-9a93f235386bcb47887a33527478700df77dce94.tar.xz plus-9a93f235386bcb47887a33527478700df77dce94.zip |
show npc name in npc dialog caption.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/npcdialog.cpp | 3 |
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); |