diff options
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 453f35126..7b1cedfd2 100644 --- a/src/gui/windows/npcdialog.cpp +++ b/src/gui/windows/npcdialog.cpp @@ -1128,7 +1128,7 @@ void NpcDialog::showAvatar(const BeingTypeId avatarId) if (needShow) { delete mAvatarBeing; - mAvatarBeing = new Being(BeingId_zero, + mAvatarBeing = Being::createBeing(BeingId_zero, ActorType::Avatar, avatarId, nullptr); |