diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-11 17:36:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-11 17:36:03 +0300 |
commit | c4d16b36a373ba5609360e2698372926d7f2dc0f (patch) | |
tree | 62633ac84dafbe0a70574f1766105c0a42f10d79 /src/gui | |
parent | d2502060c7f7b31385d2e3d836dbd7e91562a381 (diff) | |
download | plus-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.cpp | 2 |
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()) { |