summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/iteminfo.cpp4
-rw-r--r--src/resources/iteminfo.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/iteminfo.cpp b/src/resources/iteminfo.cpp
index 0cdbed04d..768825f44 100644
--- a/src/resources/iteminfo.cpp
+++ b/src/resources/iteminfo.cpp
@@ -86,7 +86,7 @@ ItemInfo::~ItemInfo()
mSpriteToItemReplaceMap[f] = nullptr;
}
-const std::string &ItemInfo::getSprite(const Gender::Type gender,
+const std::string &ItemInfo::getSprite(const GenderT gender,
const BeingTypeId race) const
{
if (mView)
@@ -363,7 +363,7 @@ int ItemInfo::getDrawPriority(const int direction) const
}
void ItemInfo::setSprite(const std::string &animationFile,
- const Gender::Type gender,
+ const GenderT gender,
const int race)
{
mAnimationFiles[static_cast<int>(gender) + race * 4] = animationFile;
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h
index 3331d7882..4c8d90f8c 100644
--- a/src/resources/iteminfo.h
+++ b/src/resources/iteminfo.h
@@ -124,9 +124,9 @@ class ItemInfo final
{ mView = view; }
void setSprite(const std::string &animationFile,
- const Gender::Type gender, const int race);
+ const GenderT gender, const int race);
- const std::string &getSprite(const Gender::Type gender,
+ const std::string &getSprite(const GenderT gender,
const BeingTypeId race)
const A_WARN_UNUSED;