diff options
Diffstat (limited to 'src/game-server')
-rw-r--r-- | src/game-server/itemmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/itemmanager.cpp b/src/game-server/itemmanager.cpp index bc2cb9a9..be405b87 100644 --- a/src/game-server/itemmanager.cpp +++ b/src/game-server/itemmanager.cpp @@ -82,7 +82,7 @@ unsigned int ItemManager::getDatabaseVersion() const unsigned int ItemManager::getEquipSlotIdFromName(const std::string &name) const { - EquipSlotInfo *slotInfo = mNamedEquipSlotsInfo.find(name); + EquipSlotInfo *slotInfo = mNamedEquipSlotsInfo.value(name); return slotInfo ? slotInfo->slotId : 0; } |