aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclick <none@none>2010-05-10 16:48:39 +0200
committerclick <none@none>2010-05-10 16:48:39 +0200
commit5626c294e4ac72e8f3b067e72c5b25f15aa8123d (patch)
treec70c2d8657f0e82e1c0dc6adf6b54ccf7ad1a914
parent7957d066543a995e425834aa8760c7411b935f04 (diff)
Remove double-included headers from script + remove whitespace. Closes issue 2091.
--HG-- branch : trunk
-rw-r--r--src/scripts/kalimdor/ashenvale.cpp21
1 files changed, 9 insertions, 12 deletions
diff --git a/src/scripts/kalimdor/ashenvale.cpp b/src/scripts/kalimdor/ashenvale.cpp
index 46f97fd4954..654e7ed3146 100644
--- a/src/scripts/kalimdor/ashenvale.cpp
+++ b/src/scripts/kalimdor/ashenvale.cpp
@@ -229,9 +229,6 @@ CreatureAI* GetAI_npc_ruul_snowhoofAI(Creature* pCreature)
return new npc_ruul_snowhoofAI(pCreature);
}
-#include "ScriptedPch.h"
-#include "ScriptedEscortAI.h"
-
enum eEnums
{
SAY_MUG_START1 = -1800054,
@@ -247,7 +244,7 @@ enum eEnums
QUEST_VORSHA = 6641,
- GO_NAGA_BRAZIER = 178247,
+ GO_NAGA_BRAZIER = 178247,
NPC_WRATH_RIDER = 3713,
NPC_WRATH_SORCERESS = 3717,
@@ -288,7 +285,7 @@ struct npc_muglashAI : public npc_escortAI
void JustSummoned(Creature* pSummoned)
{
- pSummoned->AI()->AttackStart(me);
+ pSummoned->AI()->AttackStart(me);
}
void WaypointReached(uint32 i)
@@ -330,7 +327,7 @@ struct npc_muglashAI : public npc_escortAI
{
if (HasEscortState(STATE_ESCORT_PAUSED))
{
- if (urand(0, 1))
+ if (urand(0, 1))
DoScriptText(SAY_MUG_ON_GUARD, me);
return;
}
@@ -340,7 +337,7 @@ struct npc_muglashAI : public npc_escortAI
{
m_uiEventTimer = 10000;
m_uiWaveId = 0;
- m_bIsBrazierExtinguished = false;
+ m_bIsBrazierExtinguished = false;
}
void JustDied(Unit* pKiller)
@@ -352,7 +349,7 @@ struct npc_muglashAI : public npc_escortAI
{
pPlayer->FailQuest(QUEST_VORSHA);
}
- }
+ }
}
void DoWaveSummon()
@@ -377,7 +374,7 @@ struct npc_muglashAI : public npc_escortAI
DoScriptText(SAY_MUG_DONE, me);
break;
}
- }
+ }
void UpdateAI(const uint32 uiDiff)
{
@@ -395,10 +392,10 @@ struct npc_muglashAI : public npc_escortAI
}
else
m_uiEventTimer -= uiDiff;
- }
- return;
+ }
+ return;
}
- DoMeleeAttackIfReady();
+ DoMeleeAttackIfReady();
}
};