aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2016-10-10 16:23:12 -0300
committerariel- <ariel-@users.noreply.github.com>2016-10-10 16:23:12 -0300
commitd42927341007f8ced30c79aef8baef47e951abb8 (patch)
treee5cbe020397c1a95b5569b755f02e289cf7c32d6 /src
parent2fc9f6140903312c01150b874afb22da6d0413a6 (diff)
Core/Scripts: fix warning reported by MSVC
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Spells/spell_warlock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_warlock.cpp b/src/server/scripts/Spells/spell_warlock.cpp
index 492da48c455..314a0f9f04e 100644
--- a/src/server/scripts/Spells/spell_warlock.cpp
+++ b/src/server/scripts/Spells/spell_warlock.cpp
@@ -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)