mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-21 23:38:54 -04:00
Core/Misc: Fix static analysis issues
This commit is contained in:
@@ -1426,7 +1426,7 @@ void Guardian::UpdateDamagePhysical(WeaponAttackType attType)
|
||||
float maxdamage = ((base_value + weapon_maxdamage) * base_pct + total_value) * total_pct;
|
||||
|
||||
// Pet's base damage changes depending on happiness
|
||||
if (IsHunterPet() && attType == BASE_ATTACK)
|
||||
if (IsHunterPet())
|
||||
{
|
||||
switch (ToPet()->GetHappinessState())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user