mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-03 11:03:47 +00:00
chore(Apps/Codestyle): add new codestyle checks for pointers and range loops (#19841)
* chore(Apps/Codestyle): add new codestyle checks for pointers and range loops * revert a typo
This commit is contained in:
@@ -120,7 +120,7 @@ public:
|
||||
immol->GetAI()->SetData(1, 1);
|
||||
immol->RemoveUnitFlag(UNIT_FLAG_NON_ATTACKABLE);
|
||||
}
|
||||
for (const auto& guid : HighborneSummoners)
|
||||
for (auto const& guid : HighborneSummoners)
|
||||
{
|
||||
if (Creature* summoner = instance->GetCreature(guid))
|
||||
{
|
||||
|
||||
@@ -386,7 +386,7 @@ struct boss_cthun : public BossAI
|
||||
}, 500ms);
|
||||
|
||||
//Spawn flesh tentacle
|
||||
for (const auto& position : FleshTentaclePos)
|
||||
for (auto const& position : FleshTentaclePos)
|
||||
me->SummonCreature(NPC_FLESH_TENTACLE, position, TEMPSUMMON_CORPSE_TIMED_DESPAWN, 5000);
|
||||
|
||||
ScheduleTasks();
|
||||
@@ -501,7 +501,7 @@ struct boss_cthun : public BossAI
|
||||
me->RemoveAurasDueToSpell(SPELL_PURPLE_COLORATION);
|
||||
DoCastSelf(SPELL_CARAPACE_CTHUN, true);
|
||||
//Spawn flesh tentacle
|
||||
for (const auto& position : FleshTentaclePos)
|
||||
for (auto const& position : FleshTentaclePos)
|
||||
me->SummonCreature(NPC_FLESH_TENTACLE, position, TEMPSUMMON_CORPSE_TIMED_DESPAWN, 5000);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user