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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
168 changed files with 438 additions and 438 deletions

View file

@ -65,7 +65,7 @@ public:
disabled = true;
break;
case 34475:
if (const SpellInfo* spellInfo = sSpellMgr->GetSpellInfo(SPELL_ARCANE_CHARGES))
if (SpellInfo const* spellInfo = sSpellMgr->GetSpellInfo(SPELL_ARCANE_CHARGES))
Spell::SendCastResult(player, spellInfo, 1, SPELL_FAILED_NOT_ON_GROUND);
break;
}
@ -209,7 +209,7 @@ public:
{
player->SendEquipError(EQUIP_ERR_NONE, item, nullptr);
if (const SpellInfo* spellInfo = sSpellMgr->GetSpellInfo(SPELL_PETROV_BOMB))
if (SpellInfo const* spellInfo = sSpellMgr->GetSpellInfo(SPELL_PETROV_BOMB))
Spell::SendCastResult(player, spellInfo, 1, SPELL_FAILED_NOT_HERE);
return true;