diff --git a/src/strategy/values/ItemUsageValue.cpp b/src/strategy/values/ItemUsageValue.cpp index b0630b86..136c74f8 100644 --- a/src/strategy/values/ItemUsageValue.cpp +++ b/src/strategy/values/ItemUsageValue.cpp @@ -236,7 +236,7 @@ ItemUsage ItemUsageValue::Calculate() ItemUsage ItemUsageValue::QueryItemUsageForEquip(ItemTemplate const* itemProto, int32 randomPropertyId) { - if (bot->CanUseItem(itemProto) != EQUIP_ERR_OK) + if (bot->BotCanUseItem(itemProto) != EQUIP_ERR_OK) return ITEM_USAGE_NONE; if (itemProto->InventoryType == INVTYPE_NON_EQUIP)