Core/Scripts: fix warning reported by MSVC

This commit is contained in:
ariel-
2016-10-10 16:23:12 -03:00
parent 2fc9f61409
commit d429273410

View File

@@ -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)