summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-29 23:49:29 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-29 23:49:29 +0300
commit45379d14d9d3c7f4673b8390cb95d98bb1759f45 (patch)
tree698fe787014ca277f5b23144136d4e5417c6b444 /src/resources/iteminfo.h
parent273b79cf4f52c846508f3493727e34b1811ecfd5 (diff)
downloadmv-45379d14d9d3c7f4673b8390cb95d98bb1759f45.tar.gz
mv-45379d14d9d3c7f4673b8390cb95d98bb1759f45.tar.bz2
mv-45379d14d9d3c7f4673b8390cb95d98bb1759f45.tar.xz
mv-45379d14d9d3c7f4673b8390cb95d98bb1759f45.zip
Convert Gender enum into strong typed enum.
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r--src/resources/iteminfo.h4
1 files changed, 2 insertions, 2 deletions
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;