summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-11 17:36:03 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-11 17:36:03 +0300
commitc4d16b36a373ba5609360e2698372926d7f2dc0f (patch)
tree62633ac84dafbe0a70574f1766105c0a42f10d79 /src/gui
parentd2502060c7f7b31385d2e3d836dbd7e91562a381 (diff)
downloadplus-c4d16b36a373ba5609360e2698372926d7f2dc0f.tar.gz
plus-c4d16b36a373ba5609360e2698372926d7f2dc0f.tar.bz2
plus-c4d16b36a373ba5609360e2698372926d7f2dc0f.tar.xz
plus-c4d16b36a373ba5609360e2698372926d7f2dc0f.zip
Allow load avatars from avatars.xml
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/npcdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/npcdialog.cpp b/src/gui/npcdialog.cpp
index 86755ad41..598926546 100644
--- a/src/gui/npcdialog.cpp
+++ b/src/gui/npcdialog.cpp
@@ -710,7 +710,7 @@ void NpcDialog::showAvatar(const uint16_t avatarId)
if (needShow)
{
delete mAvatarBeing;
- mAvatarBeing = new Being(0, ActorSprite::NPC, avatarId, nullptr);
+ mAvatarBeing = new Being(0, ActorSprite::AVATAR, avatarId, nullptr);
mPlayerBox->setPlayer(mAvatarBeing);
if (!mAvatarBeing->empty())
{