mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 11:25:42 +00:00
fix(Core/Misc): Change const to be after type name (#10591)
This commit is contained in:
@@ -70,7 +70,7 @@ struct npc_brewfest_keg_thrower : public ScriptedAI
|
||||
}
|
||||
}
|
||||
|
||||
bool CanBeSeen(const Player* player) override
|
||||
bool CanBeSeen(Player const* player) override
|
||||
{
|
||||
if (player->GetMountID() == RAM_DISPLAY_ID)
|
||||
return true;
|
||||
@@ -343,7 +343,7 @@ struct npc_dark_iron_attack_generator : public ScriptedAI
|
||||
void MoveInLineOfSight(Unit* /*who*/) override {}
|
||||
void EnterCombat(Unit*) override {}
|
||||
|
||||
void SpellHit(Unit* caster, const SpellInfo* spellInfo) override
|
||||
void SpellHit(Unit* caster, SpellInfo const* spellInfo) override
|
||||
{
|
||||
if (spellInfo->Id == SPELL_REPORT_DEATH)
|
||||
{
|
||||
@@ -733,7 +733,7 @@ struct npc_dark_iron_guzzler : public ScriptedAI
|
||||
who->CastSpell(who, SPELL_REPORT_DEATH, true);
|
||||
}
|
||||
|
||||
void SpellHit(Unit* /*caster*/, const SpellInfo* spellInfo) override
|
||||
void SpellHit(Unit* /*caster*/, SpellInfo const* spellInfo) override
|
||||
{
|
||||
if (me->IsAlive() && spellInfo->Id == SPELL_PLAYER_MUG)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user