Core: Minor code style corrections
This commit is contained in:
@@ -64,7 +64,7 @@ public:
|
||||
|
||||
void Reset()
|
||||
{
|
||||
if(instance->GetBossState(DATA_PYROGAURD_EMBERSEER) == IN_PROGRESS)
|
||||
if (instance->GetBossState(DATA_PYROGAURD_EMBERSEER) == IN_PROGRESS)
|
||||
OpenDoors(false);
|
||||
instance->SetBossState(DATA_PYROGAURD_EMBERSEER,NOT_STARTED);
|
||||
// respawn any dead Blackhand Incarcerators
|
||||
|
||||
@@ -494,7 +494,7 @@ class spell_rotface_mutated_infection : public SpellScriptLoader
|
||||
{
|
||||
// remove targets with this aura already
|
||||
// tank is not on this list
|
||||
targets.remove_if (Trinity::UnitAuraCheck(true, GetSpellInfo()->Id));
|
||||
targets.remove_if(Trinity::UnitAuraCheck(true, GetSpellInfo()->Id));
|
||||
if (targets.empty())
|
||||
return;
|
||||
|
||||
|
||||
@@ -1189,7 +1189,7 @@ class spell_dreamwalker_summoner : public SpellScriptLoader
|
||||
|
||||
void FilterTargets(std::list<WorldObject*>& targets)
|
||||
{
|
||||
targets.remove_if (Trinity::UnitAuraCheck(true, SPELL_RECENTLY_SPAWNED));
|
||||
targets.remove_if(Trinity::UnitAuraCheck(true, SPELL_RECENTLY_SPAWNED));
|
||||
if (targets.empty())
|
||||
return;
|
||||
|
||||
@@ -1238,7 +1238,7 @@ class spell_dreamwalker_summon_suppresser : public SpellScriptLoader
|
||||
|
||||
std::list<Creature*> summoners;
|
||||
GetCreatureListWithEntryInGrid(summoners, caster, NPC_WORLD_TRIGGER, 100.0f);
|
||||
summoners.remove_if (Trinity::UnitAuraCheck(true, SPELL_RECENTLY_SPAWNED));
|
||||
summoners.remove_if(Trinity::UnitAuraCheck(true, SPELL_RECENTLY_SPAWNED));
|
||||
Trinity::Containers::RandomResizeList(summoners, 2);
|
||||
if (summoners.empty())
|
||||
return;
|
||||
|
||||
@@ -1230,7 +1230,7 @@ public:
|
||||
//bool OnGossipSelect(Player* player, Creature* creature, uint32 sender, uint32 action)
|
||||
//{
|
||||
// player->PlayerTalkClass->ClearMenus();
|
||||
// switch(action)
|
||||
// switch (action)
|
||||
// {
|
||||
// case GOSSIP_ACTION_INFO_DEF+1:
|
||||
// if (player)
|
||||
|
||||
@@ -651,7 +651,7 @@ class npc_simon_bunny : public CreatureScript
|
||||
{
|
||||
_events.Update(diff);
|
||||
|
||||
switch(_events.ExecuteEvent())
|
||||
switch (_events.ExecuteEvent())
|
||||
{
|
||||
case EVENT_SIMON_PERIODIC_PLAYER_CHECK:
|
||||
if (!CheckPlayer())
|
||||
|
||||
Reference in New Issue
Block a user