Skip to content

Commit 407990b

Browse files
committed
[s2832] Cleanup whitespaces
(based on commit SD2[3100] - a29e48d) Signed-off-by: Xfurry <xfurry@scriptdev2.com>
1 parent 61b7a1e commit 407990b

File tree

7 files changed

+16
-16
lines changed

7 files changed

+16
-16
lines changed

scripts/eastern_kingdoms/blackrock_depths/boss_ambassador_flamelash.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ struct boss_ambassador_flamelashAI : public ScriptedAI
7070
ScriptedAI::MoveInLineOfSight(pWho);
7171

7272
if (pWho->GetEntry() == NPC_BURNING_SPIRIT && pWho->isAlive() && m_sSpiritsGuidsSet.find(pWho->GetObjectGuid()) != m_sSpiritsGuidsSet.end() &&
73-
pWho->IsWithinDistInMap(m_creature, 2 * CONTACT_DISTANCE))
73+
pWho->IsWithinDistInMap(m_creature, 2 * CONTACT_DISTANCE))
7474
{
7575
pWho->CastSpell(m_creature, SPELL_BURNING_SPIRIT, true);
7676
m_sSpiritsGuidsSet.erase(pWho->GetObjectGuid());

scripts/eastern_kingdoms/western_plaguelands.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ struct npc_taelan_fordringAI: public npc_escortAI, private DialogueHelper
450450
else if (eventType == AI_EVENT_CUSTOM_B && pInvoker->GetEntry() == NPC_ISILLIEN)
451451
{
452452
StartNextDialogueText(NPC_TIRION_FORDRING);
453-
m_creature->SummonCreature(NPC_TIRION_FORDRING, 2620.273f, -1920.917f, 74.25f, 0, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15*MINUTE*IN_MILLISECONDS);
453+
m_creature->SummonCreature(NPC_TIRION_FORDRING, 2620.273f, -1920.917f, 74.25f, 0, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15 * MINUTE * IN_MILLISECONDS);
454454
}
455455
}
456456

@@ -480,9 +480,9 @@ struct npc_taelan_fordringAI: public npc_escortAI, private DialogueHelper
480480
// summon additional crimson elites
481481
float fX, fY, fZ;
482482
pSummoned->GetNearPoint(pSummoned, fX, fY, fZ, 0, 5.0f, M_PI_F * 1.25f);
483-
pSummoned->SummonCreature(NPC_CRIMSON_ELITE, fX, fY, fZ, pSummoned->GetOrientation(), TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15*MINUTE*IN_MILLISECONDS);
483+
pSummoned->SummonCreature(NPC_CRIMSON_ELITE, fX, fY, fZ, pSummoned->GetOrientation(), TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15 * MINUTE * IN_MILLISECONDS);
484484
pSummoned->GetNearPoint(pSummoned, fX, fY, fZ, 0, 5.0f, 0);
485-
pSummoned->SummonCreature(NPC_CRIMSON_ELITE, fX, fY, fZ, pSummoned->GetOrientation(), TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15*MINUTE*IN_MILLISECONDS);
485+
pSummoned->SummonCreature(NPC_CRIMSON_ELITE, fX, fY, fZ, pSummoned->GetOrientation(), TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15 * MINUTE * IN_MILLISECONDS);
486486
break;
487487
case NPC_TIRION_FORDRING:
488488
m_tirionGuid = pSummoned->GetObjectGuid();
@@ -576,7 +576,7 @@ struct npc_taelan_fordringAI: public npc_escortAI, private DialogueHelper
576576
break;
577577
case SAY_REACH_TOWER:
578578
// start fight event
579-
m_creature->SummonCreature(NPC_ISILLIEN, 2693.12f, -1943.04f, 72.04f, 2.11f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15*MINUTE*IN_MILLISECONDS);
579+
m_creature->SummonCreature(NPC_ISILLIEN, 2693.12f, -1943.04f, 72.04f, 2.11f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15 * MINUTE * IN_MILLISECONDS);
580580
break;
581581
case SAY_ISILLIEN_2:
582582
if (Creature* pIsillien = m_creature->GetMap()->GetCreature(m_isillenGuid))
@@ -585,9 +585,9 @@ struct npc_taelan_fordringAI: public npc_escortAI, private DialogueHelper
585585
case SPELL_CRUSADER_STRIKE:
586586
{
587587
// spawn additioinal elites
588-
m_creature->SummonCreature(NPC_CRIMSON_ELITE, 2711.32f, -1882.67f, 67.89f, 3.2f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15*MINUTE*IN_MILLISECONDS);
589-
m_creature->SummonCreature(NPC_CRIMSON_ELITE, 2710.93f, -1878.90f, 67.97f, 3.2f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15*MINUTE*IN_MILLISECONDS);
590-
m_creature->SummonCreature(NPC_CRIMSON_ELITE, 2710.53f, -1875.28f, 67.90f, 3.2f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15*MINUTE*IN_MILLISECONDS);
588+
m_creature->SummonCreature(NPC_CRIMSON_ELITE, 2711.32f, -1882.67f, 67.89f, 3.2f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15 * MINUTE * IN_MILLISECONDS);
589+
m_creature->SummonCreature(NPC_CRIMSON_ELITE, 2710.93f, -1878.90f, 67.97f, 3.2f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15 * MINUTE * IN_MILLISECONDS);
590+
m_creature->SummonCreature(NPC_CRIMSON_ELITE, 2710.53f, -1875.28f, 67.90f, 3.2f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15 * MINUTE * IN_MILLISECONDS);
591591

592592
std::list<Creature*> lElitesInRange;
593593
Player* pPlayer = GetPlayerForEscort();
@@ -651,10 +651,10 @@ struct npc_taelan_fordringAI: public npc_escortAI, private DialogueHelper
651651
pTirion->SetFacingToObject(pPlayer);
652652
}
653653

654-
pTirion->ForcedDespawn(3*MINUTE*IN_MILLISECONDS);
654+
pTirion->ForcedDespawn(3 * MINUTE * IN_MILLISECONDS);
655655
pTirion->SetFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_QUESTGIVER);
656656
}
657-
m_creature->ForcedDespawn(3*MINUTE*IN_MILLISECONDS);
657+
m_creature->ForcedDespawn(3 * MINUTE * IN_MILLISECONDS);
658658
break;
659659
}
660660
}

scripts/kalimdor/razorfen_downs/instance_razorfen_downs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ void instance_razorfen_downs::Initialize()
3737

3838
void instance_razorfen_downs::OnCreatureCreate(Creature* pCreature)
3939
{
40-
switch(pCreature->GetEntry())
40+
switch (pCreature->GetEntry())
4141
{
4242
case NPC_TOMB_FIEND:
4343
case NPC_TOMB_REAVER:

scripts/outland/shadowmoon_valley.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ struct npc_wildaAI : public npc_escortAI
592592
for (std::list<Creature*>::const_iterator itr = lSpiritsInRange.begin(); itr != lSpiritsInRange.end(); ++itr)
593593
{
594594
(*itr)->RemoveAurasDueToSpell(SPELL_WATER_BUBBLE);
595-
(*itr)->GetMotionMaster()->MoveFollow(m_creature, m_creature->GetDistance(*itr) * 0.25f, M_PI_F/2 + m_creature->GetAngle(*itr));
595+
(*itr)->GetMotionMaster()->MoveFollow(m_creature, m_creature->GetDistance(*itr) * 0.25f, M_PI_F / 2 + m_creature->GetAngle(*itr));
596596
(*itr)->SetLevitate(false);
597597
}
598598
}

sd2_revision_nr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#ifndef __SD2_REVISION_NR_H__
22
#define __SD2_REVISION_NR_H__
3-
#define SD2_REVISION_NR "s2831"
3+
#define SD2_REVISION_NR "s2832"
44
#endif // __SD2_REVISION_NR_H__

sd2_revision_sql.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#ifndef __SD2_REVISION_SQL_H__
22
#define __SD2_REVISION_SQL_H__
3-
#define REVISION_DB_SCRIPTDEV2 "required__scriptdev2"
4-
#define REVISION_DB_SD2_MANGOS "required__mangos"
3+
#define REVISION_DB_SCRIPTDEV2 "required__scriptdev2"
4+
#define REVISION_DB_SD2_MANGOS "required__mangos"
55
#endif // __SD2_REVISION_SQL_H__

system/system.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class SystemMgr
3434

3535
static SystemMgr& Instance();
3636

37-
typedef std::map<uint32 /*entry*/, std::map<int32 /*pathId*/, PathInformation> > EntryPathInfo;
37+
typedef std::map < uint32 /*entry*/, std::map < int32 /*pathId*/, PathInformation > > EntryPathInfo;
3838

3939
// Database
4040
void LoadVersion();

0 commit comments

Comments
 (0)