diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-29 23:49:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-29 23:49:29 +0300 |
commit | 45379d14d9d3c7f4673b8390cb95d98bb1759f45 (patch) | |
tree | 698fe787014ca277f5b23144136d4e5417c6b444 /src/resources/iteminfo.h | |
parent | 273b79cf4f52c846508f3493727e34b1811ecfd5 (diff) | |
download | plus-45379d14d9d3c7f4673b8390cb95d98bb1759f45.tar.gz plus-45379d14d9d3c7f4673b8390cb95d98bb1759f45.tar.bz2 plus-45379d14d9d3c7f4673b8390cb95d98bb1759f45.tar.xz plus-45379d14d9d3c7f4673b8390cb95d98bb1759f45.zip |
Convert Gender enum into strong typed enum.
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r-- | src/resources/iteminfo.h | 4 |
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; |