fix(Core/Misc): Change const to be after type name (#10591)

This commit is contained in:
Kitzunu
2022-02-14 20:05:45 +01:00
committed by GitHub
parent 9b83abca39
commit 455899dc75
168 changed files with 438 additions and 438 deletions

View File

@@ -95,7 +95,7 @@ public:
events.RescheduleEvent(EVENT_SPELL_MANA_DESTRUCTION, 20000);
}
void SpellHitTarget(Unit* target, const SpellInfo* spell) override
void SpellHitTarget(Unit* target, SpellInfo const* spell) override
{
if (!target || !spell)
return;

View File

@@ -320,7 +320,7 @@ public:
InstanceScript* pInstance;
uint32 uiRangeCheck_Timer;
void SpellHit(Unit* /*caster*/, const SpellInfo* spell) override
void SpellHit(Unit* /*caster*/, SpellInfo const* spell) override
{
if (spell->Id == SPELL_CREATE_GLOBULE_VISUAL)
me->CastSpell(me, SPELL_WATER_GLOBULE, true);