summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/being.cpp b/src/being.cpp
index ad43ec52..46b499af 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -942,9 +942,9 @@ void Being::showName()
{
if (config.getBoolValue("showgender"))
{
- if (getGender() == GENDER_FEMALE)
+ if (getGender() == Gender::FEMALE)
mDisplayName += " \u2640";
- else if (getGender() == GENDER_MALE)
+ else if (getGender() == Gender::MALE)
mDisplayName += " \u2642";
}
@@ -1041,7 +1041,7 @@ void Being::setSprite(unsigned int slot, int id, const std::string &color,
}
else
{
- std::string filename = itemDb->get(id).getSprite(mGender);
+ std::string filename = itemDb->get(id).getSprite(mGender, mSubType);
AnimatedSprite *equipmentSprite = nullptr;
if (!filename.empty())