mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-18 03:05:43 +00:00
Warning fix + ilvl function fix (#1210)
* 1 variable order warning fixed 70 unused variable warning fixed * Fixed GetEquipGearScore function --------- Co-authored-by: Julien MAS <julien.mas81@gmail.com>
This commit is contained in:
@@ -58,7 +58,7 @@ Unit* CastVigilanceAction::GetTarget()
|
||||
}
|
||||
|
||||
// Determine Highest Gear Score
|
||||
uint32 gearScore = botAI->GetEquipGearScore(member, false, false);
|
||||
uint32 gearScore = botAI->GetEquipGearScore(member/*, false, false*/);
|
||||
if (gearScore > highestGearScore)
|
||||
{
|
||||
highestGearScore = gearScore;
|
||||
|
||||
@@ -63,7 +63,7 @@ bool VigilanceTrigger::IsActive()
|
||||
}
|
||||
|
||||
// Determine Highest Gear Score
|
||||
uint32 gearScore = botAI->GetEquipGearScore(member, false, false);
|
||||
uint32 gearScore = botAI->GetEquipGearScore(member/*, false, false*/);
|
||||
if (gearScore > highestGearScore)
|
||||
{
|
||||
highestGearScore = gearScore;
|
||||
|
||||
Reference in New Issue
Block a user