diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-29 17:45:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-29 17:45:52 +0300 |
commit | 2d32dc27210d16102f9200de115f2c3f79a5cb22 (patch) | |
tree | 5aa84ebe6c5c1d708b14bee2bf0ce95df714fc1d /src/gui/windows/npcdialog.cpp | |
parent | 7bdb50605562e47f1d6ae134881c09bd42293be5 (diff) | |
download | manaplus-2d32dc27210d16102f9200de115f2c3f79a5cb22.tar.gz manaplus-2d32dc27210d16102f9200de115f2c3f79a5cb22.tar.bz2 manaplus-2d32dc27210d16102f9200de115f2c3f79a5cb22.tar.xz manaplus-2d32dc27210d16102f9200de115f2c3f79a5cb22.zip |
Use BeingTypeId in Being for subtypeid.
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 c60cbd9b4..ebc716d0f 100644 --- a/src/gui/windows/npcdialog.cpp +++ b/src/gui/windows/npcdialog.cpp @@ -870,7 +870,7 @@ void NpcDialog::showAvatar(const BeingTypeId avatarId) delete mAvatarBeing; mAvatarBeing = new Being(BeingId_zero, ActorType::Avatar, - toInt(avatarId, uint16_t), + avatarId, nullptr); mPlayerBox->setPlayer(mAvatarBeing); if (!mAvatarBeing->empty()) |