mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
fix the fix
This commit is contained in:
@@ -4407,9 +4407,9 @@ Item* PlayerbotAI::FindOilFor(Item* weapon) const
|
|||||||
{
|
{
|
||||||
for (const auto& id : uPriorizedWizardOilIds)
|
for (const auto& id : uPriorizedWizardOilIds)
|
||||||
{
|
{
|
||||||
oil = FindConsumable(uPriorizedWizardOilIds[id]);
|
oil = FindConsumable(id);
|
||||||
if (!oil)
|
if (!oil)
|
||||||
oil = FindConsumable(uPriorizedManaOilIds[id]);
|
oil = FindConsumable(id);
|
||||||
if (oil)
|
if (oil)
|
||||||
return oil;
|
return oil;
|
||||||
}
|
}
|
||||||
@@ -4418,9 +4418,9 @@ Item* PlayerbotAI::FindOilFor(Item* weapon) const
|
|||||||
{
|
{
|
||||||
for (const auto& id : uPriorizedManaOilIds)
|
for (const auto& id : uPriorizedManaOilIds)
|
||||||
{
|
{
|
||||||
oil = FindConsumable(uPriorizedManaOilIds[id]);
|
oil = FindConsumable(id);
|
||||||
if (!oil)
|
if (!oil)
|
||||||
oil = FindConsumable(uPriorizedWizardOilIds[id]);
|
oil = FindConsumable(id);
|
||||||
if (oil)
|
if (oil)
|
||||||
return oil;
|
return oil;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user