summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-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);