diff options
Diffstat (limited to 'src/game-server/skillmanager.cpp')
-rw-r--r-- | src/game-server/skillmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/skillmanager.cpp b/src/game-server/skillmanager.cpp index be6eef4b..0ed327b1 100644 --- a/src/game-server/skillmanager.cpp +++ b/src/game-server/skillmanager.cpp @@ -171,7 +171,7 @@ unsigned int SkillManager::getId(const std::string& set, const std::string &name) const { std::string key = utils::toLower(set) + "_" + utils::toLower(name); - SkillInfo *skillInfo = mNamedSkillsInfo.find(key); + SkillInfo *skillInfo = mNamedSkillsInfo.value(key); return skillInfo ? skillInfo->id : 0; } |