Core/Server: Use nullptr instead of 0 where pointers are expected

This commit is contained in:
DDuarte committed 2014-08-09 21:32:26 +01:00
1 parent a394205eca
commit df3b08d140
39 files changed
+78 -78

No files matched your search

+1 -1
View File
@@ -800,7 +800,7 @@ class spell_pri_shadow_word_death : public SpellScriptLoader
if (AuraEffect* aurEff = GetCaster()->GetDummyAuraEffect(SPELLFAMILY_PRIEST, PRIEST_ICON_ID_PAIN_AND_SUFFERING, EFFECT_1))
AddPct(damage, aurEff->GetAmount());
GetCaster()->CastCustomSpell(GetCaster(), SPELL_PRIEST_SHADOW_WORD_DEATH, &damage, 0, 0, true);
GetCaster()->CastCustomSpell(GetCaster(), SPELL_PRIEST_SHADOW_WORD_DEATH, &damage, nullptr, nullptr, true);
}
void Register() override