From 3ecaf0ca68b4dd21dbed2977c02b8525e0a7d676 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Sat, 22 Oct 2011 20:25:03 +0200 Subject: .find() -> .value due to recent API changes. --- src/game-server/itemmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3-70-g09d2