From aba4dc56359e0a6a4adaed737b684021f0eea51f Mon Sep 17 00:00:00 2001 From: Lemongrass3110 Date: Wed, 11 Aug 2021 17:13:10 +0200 Subject: [PATCH] Follow up to 99eed0c --- src/map/mob.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/mob.cpp b/src/map/mob.cpp index 48798c0c86..6d792f0be7 100644 --- a/src/map/mob.cpp +++ b/src/map/mob.cpp @@ -5934,7 +5934,7 @@ uint64 MobItemRatioDatabase::parseBodyNode(const YAML::Node &node) { if (!this->asString(node, "Item", item_name)) return 0; - item_data *item = itemdb_search_aegisname(item_name.c_str()); + std::shared_ptr item = item_db.search_aegisname(item_name.c_str()); if (item == nullptr) { this->invalidWarning(node["Item"], "Item %s does not exist, skipping.\n", item_name.c_str());