mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 05:06:24 +00:00
fix(Core/Misc): Change const to be after type name (#10591)
This commit is contained in:
@@ -321,7 +321,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void SpellHitTarget(Unit* target, const SpellInfo* spellInfo) override
|
||||
void SpellHitTarget(Unit* target, SpellInfo const* spellInfo) override
|
||||
{
|
||||
if (spellInfo->Id == 47593) // SPELL_FLAME_VISUAL trigger
|
||||
target->CastSpell(target, me->GetMap()->IsHeroic() ? SPELL_FLAME_BREATH_H : SPELL_FLAME_BREATH_N, true);
|
||||
|
||||
@@ -196,7 +196,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void SpellHitTarget(Unit*, const SpellInfo* spellInfo) override
|
||||
void SpellHitTarget(Unit*, SpellInfo const* spellInfo) override
|
||||
{
|
||||
if (spellInfo->Id == 59302 && pInstance) // Bane trigger
|
||||
pInstance->SetData(DATA_YMIRON_ACHIEVEMENT, false);
|
||||
|
||||
Reference in New Issue
Block a user