mirror of
https://github.com/ZhengPeiRu21/mod-individual-progression
synced 2025-11-29 23:44:51 +08:00
Fix Linux compile warnings
This commit is contained in:
@@ -362,8 +362,8 @@ private:
|
||||
{
|
||||
if (item->Quality != ITEM_QUALITY_EPIC) // Non-endgame gear is okay
|
||||
return;
|
||||
if ((hasPassedProgression(player, PROGRESSION_NAXX40) && item->RequiredLevel <= 60) ||
|
||||
hasPassedProgression(player, PROGRESSION_TBC_TIER_5) && item->RequiredLevel <=70)
|
||||
if ((hasPassedProgression(player, PROGRESSION_NAXX40) && (item->RequiredLevel <= 60)) ||
|
||||
hasPassedProgression(player, PROGRESSION_TBC_TIER_5) && (item->RequiredLevel <=70))
|
||||
{
|
||||
computedAdjustment -= (100.0 * previousGearTuning);
|
||||
}
|
||||
@@ -373,8 +373,8 @@ private:
|
||||
{
|
||||
if (item->Quality != ITEM_QUALITY_EPIC) // Non-endgame gear is okay
|
||||
return;
|
||||
if ((hasPassedProgression(player, PROGRESSION_NAXX40) && item->RequiredLevel <= 60) ||
|
||||
hasPassedProgression(player, PROGRESSION_TBC_TIER_5) && item->RequiredLevel <=70)
|
||||
if ((hasPassedProgression(player, PROGRESSION_NAXX40) && (item->RequiredLevel <= 60)) ||
|
||||
hasPassedProgression(player, PROGRESSION_TBC_TIER_5) && (item->RequiredLevel <=70))
|
||||
{
|
||||
computedAdjustment += previousGearTuning;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user