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
@@ -491,7 +491,7 @@ class spell_rog_prey_on_the_weak : public SpellScriptLoader
if (!target->HasAura(SPELL_ROGUE_PREY_ON_THE_WEAK))
{
int32 bp = GetSpellInfo()->Effects[EFFECT_0].CalcValue();
target->CastCustomSpell(target, SPELL_ROGUE_PREY_ON_THE_WEAK, &bp, 0, 0, true);
target->CastCustomSpell(target, SPELL_ROGUE_PREY_ON_THE_WEAK, &bp, nullptr, nullptr, true);
}
}
else