diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-18 12:18:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-18 14:52:11 +0300 |
commit | bb9ed14fc1bf7dc20f1e951e67bb359c273033a3 (patch) | |
tree | c46e7e5708d3a2058233a41a08995e6c861703ea /src/resources/iteminfo.cpp | |
parent | 10273bc94e90fefcfe3fc215aaaaafe7e0e96bd4 (diff) | |
download | manaverse-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.tar.gz manaverse-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.tar.bz2 manaverse-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.tar.xz manaverse-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.zip |
fix code style.
Diffstat (limited to 'src/resources/iteminfo.cpp')
-rw-r--r-- | src/resources/iteminfo.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/resources/iteminfo.cpp b/src/resources/iteminfo.cpp index d405e6909..e6b56c43b 100644 --- a/src/resources/iteminfo.cpp +++ b/src/resources/iteminfo.cpp @@ -84,7 +84,7 @@ ItemInfo::~ItemInfo() mSpriteToItemReplaceMap[f] = nullptr; } -const std::string &ItemInfo::getSprite(const Gender gender, +const std::string &ItemInfo::getSprite(const Gender::Type gender, const int race) const { if (mView) @@ -346,7 +346,8 @@ int ItemInfo::getDrawPriority(const int direction) const } void ItemInfo::setSprite(const std::string &animationFile, - const Gender gender, const int race) + const Gender::Type gender, + const int race) { mAnimationFiles[static_cast<int>(gender) + race * 4] = animationFile; } |