diff options
Diffstat (limited to 'src/resources/iteminfo.cpp')
-rw-r--r-- | src/resources/iteminfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/iteminfo.cpp b/src/resources/iteminfo.cpp index 3583bb27..9e7fd6b7 100644 --- a/src/resources/iteminfo.cpp +++ b/src/resources/iteminfo.cpp @@ -34,7 +34,7 @@ const std::string &ItemInfo::getSprite(Gender gender) const else { static const std::string empty; - std::map<int, std::string>::const_iterator i = + auto i = mAnimationFiles.find(gender); return (i != mAnimationFiles.end()) ? i->second : empty; |