summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/npcdialog.cpp')
-rw-r--r--src/gui/windows/npcdialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp
index c8ccd482e..c60cbd9b4 100644
--- a/src/gui/windows/npcdialog.cpp
+++ b/src/gui/windows/npcdialog.cpp
@@ -205,7 +205,7 @@ void NpcDialog::postInit()
if (being)
{
showAvatar(NPCDB::getAvatarFor(fromInt(
- being->getSubType(), BeingId)));
+ being->getSubType(), BeingTypeId)));
setCaption(being->getName());
}
}
@@ -862,9 +862,9 @@ void NpcDialog::restoreCamera()
mCameraMode = -1;
}
-void NpcDialog::showAvatar(const BeingId avatarId)
+void NpcDialog::showAvatar(const BeingTypeId avatarId)
{
- const bool needShow = (avatarId != BeingId_zero);
+ const bool needShow = (avatarId != BeingTypeId_zero);
if (needShow)
{
delete mAvatarBeing;