diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-20 18:11:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-20 18:11:57 +0300 |
commit | 9cf563fa7f4059bfddd82efdaa89df2ed07a6d7c (patch) | |
tree | 172ff032c6d811f6f903b31413840691bd43254e /src/gui/windows/npcdialog.cpp | |
parent | 13abfc42956e176c9779ee41fddc95a4b85cb389 (diff) | |
download | ManaVerse-9cf563fa7f4059bfddd82efdaa89df2ed07a6d7c.tar.gz ManaVerse-9cf563fa7f4059bfddd82efdaa89df2ed07a6d7c.tar.bz2 ManaVerse-9cf563fa7f4059bfddd82efdaa89df2ed07a6d7c.tar.xz ManaVerse-9cf563fa7f4059bfddd82efdaa89df2ed07a6d7c.zip |
Remove setMap from being constructor.
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 3b5d0d772..9192b66b9 100644 --- a/src/gui/windows/npcdialog.cpp +++ b/src/gui/windows/npcdialog.cpp @@ -851,7 +851,7 @@ void NpcDialog::showAvatar(const uint16_t avatarId) if (needShow) { delete mAvatarBeing; - mAvatarBeing = new Being(0, ActorSprite::AVATAR, avatarId, nullptr); + mAvatarBeing = new Being(0, ActorSprite::AVATAR, avatarId); mPlayerBox->setPlayer(mAvatarBeing); if (!mAvatarBeing->empty()) { |