Explorar el Código

Follow up to 99eed0c

Lemongrass3110 hace 3 años
padre
commit
aba4dc5635
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/map/mob.cpp

+ 1 - 1
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_data> 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());