mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 10:55:43 +00:00
fix(Core/Misc): Change const to be after type name (#10591)
This commit is contained in:
@@ -4279,7 +4279,7 @@ void Spell::EffectSanctuary(SpellEffIndex /*effIndex*/)
|
||||
{
|
||||
if ((*iter)->GetCurrentSpell(i) && (*iter)->GetCurrentSpell(i)->m_targets.GetUnitTargetGUID() == unitTarget->GetGUID())
|
||||
{
|
||||
const SpellInfo* si = (*iter)->GetCurrentSpell(i)->GetSpellInfo();
|
||||
SpellInfo const* si = (*iter)->GetCurrentSpell(i)->GetSpellInfo();
|
||||
if (si->HasAttribute(SPELL_ATTR6_IGNORE_PHASE_SHIFT) && (*iter)->GetTypeId() == TYPEID_UNIT)
|
||||
{
|
||||
Creature* c = (*iter)->ToCreature();
|
||||
@@ -4968,7 +4968,7 @@ void Spell::EffectForceDeselect(SpellEffIndex /*effIndex*/)
|
||||
{
|
||||
if (spell->m_targets.GetUnitTargetGUID() == m_caster->GetGUID())
|
||||
{
|
||||
const SpellInfo* si = spell->GetSpellInfo();
|
||||
SpellInfo const* si = spell->GetSpellInfo();
|
||||
if (si->HasAttribute(SPELL_ATTR6_IGNORE_PHASE_SHIFT) && (*iter)->GetTypeId() == TYPEID_UNIT)
|
||||
{
|
||||
Creature* c = (*iter)->ToCreature();
|
||||
|
||||
Reference in New Issue
Block a user