aboutsummaryrefslogtreecommitdiff
path: root/src/scripts/northrend
diff options
context:
space:
mode:
authorSpp <none@none>2010-04-07 23:25:02 +0200
committerSpp <none@none>2010-04-07 23:25:02 +0200
commit2454c290b84e04bd0321ca94e0be8c8dc7eedbe8 (patch)
treeb744629b9fc3004bcb717c5f95a10724df3a6a62 /src/scripts/northrend
parent49d05ba9aa1cd5c1f3ae96546283e6d03a037ff7 (diff)
Code Style (game + scripts only):
"==" --> " == " (when needed) --HG-- branch : trunk
Diffstat (limited to 'src/scripts/northrend')
-rw-r--r--src/scripts/northrend/borean_tundra.cpp6
-rw-r--r--src/scripts/northrend/nexus/eye_of_eternity/boss_malygos.cpp6
-rw-r--r--src/scripts/northrend/utgarde_keep/utgarde_pinnacle/boss_palehoof.cpp8
3 files changed, 10 insertions, 10 deletions
diff --git a/src/scripts/northrend/borean_tundra.cpp b/src/scripts/northrend/borean_tundra.cpp
index bbebd070998..069eadaedf8 100644
--- a/src/scripts/northrend/borean_tundra.cpp
+++ b/src/scripts/northrend/borean_tundra.cpp
@@ -1845,7 +1845,7 @@ enum Mootoo_the_Younger_Entries
};
bool QuestAccept_npc_mootoo_the_younger(Player* pPlayer, Creature* pCreature, Quest const* quest)
{
- if (quest->GetQuestId()==QUEST_ESCAPING_THE_MIST)
+ if (quest->GetQuestId() == QUEST_ESCAPING_THE_MIST)
{
switch (pPlayer->GetTeam())
{
@@ -1930,7 +1930,7 @@ enum Script_Texts_Bonker_Togglevolt
bool QuestAccept_npc_bonker_togglevolt(Player* pPlayer, Creature* pCreature, Quest const* quest)
{
- if (quest->GetQuestId()==QUEST_GET_ME_OUTA_HERE)
+ if (quest->GetQuestId() == QUEST_GET_ME_OUTA_HERE)
{
switch (pPlayer->GetTeam())
{
@@ -1967,7 +1967,7 @@ struct npc_bonker_togglevoltAI : public npc_escortAI
{
if (GetAttack() && UpdateVictim())
{
- if (Bonker_agro==0)
+ if (Bonker_agro == 0)
{
DoScriptText(SAY_bonker_1,m_creature);
Bonker_agro++;
diff --git a/src/scripts/northrend/nexus/eye_of_eternity/boss_malygos.cpp b/src/scripts/northrend/nexus/eye_of_eternity/boss_malygos.cpp
index 2f77a576650..0077add4755 100644
--- a/src/scripts/northrend/nexus/eye_of_eternity/boss_malygos.cpp
+++ b/src/scripts/northrend/nexus/eye_of_eternity/boss_malygos.cpp
@@ -131,11 +131,11 @@ struct boss_malygosAI : public ScriptedAI
if (victim == m_creature)
return;
- if (phase ==1)
+ if (phase == 1)
DoScriptText(RAND(SAY_PHASE1_SLAY_1,SAY_PHASE1_SLAY_2,SAY_PHASE1_SLAY_3), m_creature);
- if (phase ==2)
+ if (phase == 2)
DoScriptText(RAND(SAY_PHASE2_SLAY_1,SAY_PHASE2_SLAY_2,SAY_PHASE2_SLAY_3), m_creature);
- if (phase ==3)
+ if (phase == 3)
DoScriptText(RAND(SAY_PHASE3_SLAY_1,SAY_PHASE3_SLAY_2,SAY_PHASE3_SLAY_3), m_creature);
}
};
diff --git a/src/scripts/northrend/utgarde_keep/utgarde_pinnacle/boss_palehoof.cpp b/src/scripts/northrend/utgarde_keep/utgarde_pinnacle/boss_palehoof.cpp
index 9124b8dffc3..df14331a870 100644
--- a/src/scripts/northrend/utgarde_keep/utgarde_pinnacle/boss_palehoof.cpp
+++ b/src/scripts/northrend/utgarde_keep/utgarde_pinnacle/boss_palehoof.cpp
@@ -274,7 +274,7 @@ struct mob_ravenous_furbolgAI : public ScriptedAI
m_creature->GetMotionMaster()->MoveTargetedHome();
if (pInstance)
- if (pInstance->GetData(DATA_GORTOK_PALEHOOF_EVENT)==IN_PROGRESS)
+ if (pInstance->GetData(DATA_GORTOK_PALEHOOF_EVENT) == IN_PROGRESS)
{
Creature *pPalehoof = Unit::GetCreature((*m_creature), pInstance ? pInstance->GetData64(DATA_GORTOK_PALEHOOF) : 0);
if (pPalehoof && pPalehoof->isAlive())
@@ -380,7 +380,7 @@ struct mob_frenzied_worgenAI : public ScriptedAI
m_creature->GetMotionMaster()->MoveTargetedHome();
if (pInstance)
- if (pInstance->GetData(DATA_GORTOK_PALEHOOF_EVENT)==IN_PROGRESS)
+ if (pInstance->GetData(DATA_GORTOK_PALEHOOF_EVENT) == IN_PROGRESS)
{
Creature *pPalehoof = Unit::GetCreature((*m_creature), pInstance ? pInstance->GetData64(DATA_GORTOK_PALEHOOF) : 0);
if (pPalehoof && pPalehoof->isAlive())
@@ -489,7 +489,7 @@ struct mob_ferocious_rhinoAI : public ScriptedAI
m_creature->GetMotionMaster()->MoveTargetedHome();
if (pInstance)
- if (pInstance->GetData(DATA_GORTOK_PALEHOOF_EVENT)==IN_PROGRESS)
+ if (pInstance->GetData(DATA_GORTOK_PALEHOOF_EVENT) == IN_PROGRESS)
{
Creature *pPalehoof = Unit::GetCreature((*m_creature), pInstance ? pInstance->GetData64(DATA_GORTOK_PALEHOOF) : 0);
if (pPalehoof && pPalehoof->isAlive())
@@ -702,7 +702,7 @@ struct mob_palehoof_orbAI : public ScriptedAI
void UpdateAI(const uint32 diff)
{
- if (currentPhase==PHASE_NONE)
+ if (currentPhase == PHASE_NONE)
return;
if (SummonTimer<=diff)