diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-04 21:48:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-04 21:48:28 +0300 |
commit | 81b5f0f63bea5728feb6d8c33d4285fdc0641265 (patch) | |
tree | c56e628bc022e1f86a24d2f7f0b9b3c677bde617 /src/gui/windows/npcdialog.cpp | |
parent | 1a31d0573e3e714664631ac40686c0d61b4bccc9 (diff) | |
download | mv-81b5f0f63bea5728feb6d8c33d4285fdc0641265.tar.gz mv-81b5f0f63bea5728feb6d8c33d4285fdc0641265.tar.bz2 mv-81b5f0f63bea5728feb6d8c33d4285fdc0641265.tar.xz mv-81b5f0f63bea5728feb6d8c33d4285fdc0641265.zip |
Remove getter empty from compoundsprite.
Diffstat (limited to 'src/gui/windows/npcdialog.cpp')
-rw-r--r-- | src/gui/windows/npcdialog.cpp | 2 |
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); |