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

@@ -201,7 +201,7 @@ struct npc_pilgrims_bounty_chair : public VehicleAI
}
}
void SpellHitTarget(Unit* target, const SpellInfo* spellInfo) override
void SpellHitTarget(Unit* target, SpellInfo const* spellInfo) override
{
Unit* charm = target->GetCharm();
if (!charm || !charm->ToCreature())
@@ -210,7 +210,7 @@ struct npc_pilgrims_bounty_chair : public VehicleAI
charm->ToCreature()->AI()->DoAction(spellInfo->Id);
}
void SpellHit(Unit* /*target*/, const SpellInfo* spellInfo) override
void SpellHit(Unit* /*target*/, SpellInfo const* spellInfo) override
{
switch (spellInfo->Id)
{
@@ -281,7 +281,7 @@ struct npc_pilgrims_bounty_plate : public NullCreatureAI
{
npc_pilgrims_bounty_plate(Creature* creature) : NullCreatureAI(creature) { }
void SpellHit(Unit* /*caster*/, const SpellInfo* spellInfo) override
void SpellHit(Unit* /*caster*/, SpellInfo const* spellInfo) override
{
switch (spellInfo->Id)
{