summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-04 21:48:28 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-04 21:48:28 +0300
commit81b5f0f63bea5728feb6d8c33d4285fdc0641265 (patch)
treec56e628bc022e1f86a24d2f7f0b9b3c677bde617 /src/gui/windows/npcdialog.cpp
parent1a31d0573e3e714664631ac40686c0d61b4bccc9 (diff)
downloadplus-81b5f0f63bea5728feb6d8c33d4285fdc0641265.tar.gz
plus-81b5f0f63bea5728feb6d8c33d4285fdc0641265.tar.bz2
plus-81b5f0f63bea5728feb6d8c33d4285fdc0641265.tar.xz
plus-81b5f0f63bea5728feb6d8c33d4285fdc0641265.zip
Remove getter empty from compoundsprite.
Diffstat (limited to 'src/gui/windows/npcdialog.cpp')
-rw-r--r--src/gui/windows/npcdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp
index 7f34d9f6e..69f024f50 100644
--- a/src/gui/windows/npcdialog.cpp
+++ b/src/gui/windows/npcdialog.cpp
@@ -1149,7 +1149,7 @@ void NpcDialog::showAvatar(const BeingTypeId avatarId)
avatarId,
nullptr);
mPlayerBox->setPlayer(mAvatarBeing);
- if (!mAvatarBeing->empty())
+ if (!mAvatarBeing->mSprites.empty())
{
mAvatarBeing->logic();
const BeingInfo *const info = AvatarDB::get(avatarId);