feat(Core/Misc): includes cleanup (#5953)

This commit is contained in:
Kargatum
2021-05-26 19:00:08 +07:00
committed by GitHub
parent 7d3129a737
commit 78e1719c80
46 changed files with 132 additions and 191 deletions

View File

@@ -7,6 +7,7 @@
#include "blackrock_depths.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include <vector>
enum Spells
{
@@ -38,7 +39,7 @@ const Position SummonPositions[7] =
{1012.252747f, -206.696487f, -61.980618f, 3.617599f},
};
vector<int> gobjectDwarfRunesEntry { 170578, 170579, 170580, 170581, 170582, 170583, 170584 };
std::vector<int> gobjectDwarfRunesEntry { 170578, 170579, 170580, 170581, 170582, 170583, 170584 };
class boss_ambassador_flamelash : public CreatureScript
{
@@ -60,7 +61,7 @@ public:
SummonList summons;
// This will allow to find a valid position to spawn them
vector<int> validPosition;
std::vector<int> validPosition;
bool foundValidPosition = false;
void JustSummoned(Creature* cr) override { summons.Summon(cr); }

View File

@@ -131,7 +131,7 @@ public:
}
}
counter = 0;
list<Unit*, std::allocator<Unit*>>::iterator itr;
std::list<Unit*, std::allocator<Unit*>>::iterator itr;
for (itr = meleeRangeTargets.begin(); itr != meleeRangeTargets.end(); ++itr, ++counter)
{
// if there is only one target available