diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-28 01:34:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-28 01:34:04 +0300 |
commit | 7900408adc2b6db601373de2730a80707ec4c837 (patch) | |
tree | d86e05a374a1cb16c2e03d0a6a69358339fadac4 /src/gui/skilldialog.cpp | |
parent | d05f3904b05e8af1cd319d75a380b2cce7edf77d (diff) | |
download | manaplus-7900408adc2b6db601373de2730a80707ec4c837.tar.gz manaplus-7900408adc2b6db601373de2730a80707ec4c837.tar.bz2 manaplus-7900408adc2b6db601373de2730a80707ec4c837.tar.xz manaplus-7900408adc2b6db601373de2730a80707ec4c837.zip |
Fix different warnings from previous commits.
Diffstat (limited to 'src/gui/skilldialog.cpp')
-rw-r--r-- | src/gui/skilldialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/skilldialog.cpp b/src/gui/skilldialog.cpp index 00d26b17c..35e3e7422 100644 --- a/src/gui/skilldialog.cpp +++ b/src/gui/skilldialog.cpp @@ -726,9 +726,9 @@ SkillData *SkillInfo::getData(const int level1) return (*it).second; } -SkillData *SkillInfo::getData1(const int level) +SkillData *SkillInfo::getData1(const int lev) { - SkillDataMapIter it = dataMap.find(level); + SkillDataMapIter it = dataMap.find(lev); if (it == dataMap.end()) return dataMap[0]; return (*it).second; |