refactor(Core): replace NULL with nullptr (#4593)

This commit is contained in:
Kitzunu
2021-03-02 01:34:20 +01:00
committed by GitHub
parent dbefa17a53
commit 28f1dc5c0c
231 changed files with 923 additions and 923 deletions

View File

@@ -219,7 +219,7 @@ public:
me->DisableSpline();
me->SetFacingTo(ZapAngle);
me->SetControlled(true, UNIT_STATE_ROOT);
me->CastSpell((Unit*)NULL, SPELL_ENERGIZE_CORES, false);
me->CastSpell((Unit*)nullptr, SPELL_ENERGIZE_CORES, false);
ZapAngle += M_PI / 2;
if( ZapAngle >= 2 * M_PI )
ZapAngle -= 2 * M_PI;