Core/Server: Use nullptr instead of 0 where pointers are expected
This commit is contained in:
1 parent
a394205eca
commit
df3b08d140
39 files changed
+78
-78
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user