mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
Core/Scripts: fix warning reported by MSVC
This commit is contained in:
@@ -509,7 +509,7 @@ class spell_warl_fel_synergy : public SpellScriptLoader
|
||||
if (!damageInfo || !damageInfo->GetDamage())
|
||||
return false;
|
||||
|
||||
return GetTarget()->GetGuardianPet();
|
||||
return GetTarget()->GetGuardianPet() != nullptr;
|
||||
}
|
||||
|
||||
void OnProc(AuraEffect const* aurEff, ProcEventInfo& eventInfo)
|
||||
|
||||
Reference in New Issue
Block a user