mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-30 09:03:47 +00:00
fix(Core/Misc): Change const to be after type name (#10591)
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user