aboutsummaryrefslogtreecommitdiff
path: root/src/scripts/outland
diff options
context:
space:
mode:
authorSpp <none@none>2010-04-07 19:13:19 +0200
committerSpp <none@none>2010-04-07 19:13:19 +0200
commit2e127f7a30706dc1d40c65de22ff02851732da24 (patch)
tree91f7e8033e9296fdd8dbb2d5a761c9980cc36f18 /src/scripts/outland
parent182e9a20b107c0d824e8a0bd1cf8f7eceb2b4ce5 (diff)
Code style (game + scripts only):
"while(" --> "while (" --HG-- branch : trunk
Diffstat (limited to 'src/scripts/outland')
-rw-r--r--src/scripts/outland/black_temple/boss_mother_shahraz.cpp2
-rw-r--r--src/scripts/outland/black_temple/boss_supremus.cpp2
-rw-r--r--src/scripts/outland/black_temple/boss_warlord_najentus.cpp2
-rw-r--r--src/scripts/outland/coilfang_resevoir/serpent_shrine/boss_fathomlord_karathress.cpp2
-rw-r--r--src/scripts/outland/coilfang_resevoir/serpent_shrine/boss_morogrim_tidewalker.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/scripts/outland/black_temple/boss_mother_shahraz.cpp b/src/scripts/outland/black_temple/boss_mother_shahraz.cpp
index 1a18d5fc36c..b8596e1bf62 100644
--- a/src/scripts/outland/black_temple/boss_mother_shahraz.cpp
+++ b/src/scripts/outland/black_temple/boss_mother_shahraz.cpp
@@ -202,7 +202,7 @@ struct boss_shahrazAI : public ScriptedAI
++BeamCount;
uint32 Beam = CurrentBeam;
if (BeamCount > 3)
- while(CurrentBeam == Beam)
+ while (CurrentBeam == Beam)
CurrentBeam = rand()%3;
} else BeamTimer -= diff;
diff --git a/src/scripts/outland/black_temple/boss_supremus.cpp b/src/scripts/outland/black_temple/boss_supremus.cpp
index c7cc7055ffa..88e701d8f13 100644
--- a/src/scripts/outland/black_temple/boss_supremus.cpp
+++ b/src/scripts/outland/black_temple/boss_supremus.cpp
@@ -174,7 +174,7 @@ struct boss_supremusAI : public ScriptedAI
events.Update(diff);
- while(uint32 eventId = events.ExecuteEvent())
+ while (uint32 eventId = events.ExecuteEvent())
{
switch(eventId)
{
diff --git a/src/scripts/outland/black_temple/boss_warlord_najentus.cpp b/src/scripts/outland/black_temple/boss_warlord_najentus.cpp
index 12f1eb80975..838bbef5d75 100644
--- a/src/scripts/outland/black_temple/boss_warlord_najentus.cpp
+++ b/src/scripts/outland/black_temple/boss_warlord_najentus.cpp
@@ -140,7 +140,7 @@ struct boss_najentusAI : public ScriptedAI
events.Update(diff);
- while(uint32 eventId = events.ExecuteEvent())
+ while (uint32 eventId = events.ExecuteEvent())
{
switch(eventId)
{
diff --git a/src/scripts/outland/coilfang_resevoir/serpent_shrine/boss_fathomlord_karathress.cpp b/src/scripts/outland/coilfang_resevoir/serpent_shrine/boss_fathomlord_karathress.cpp
index 54b8666dd97..e992d6258f8 100644
--- a/src/scripts/outland/coilfang_resevoir/serpent_shrine/boss_fathomlord_karathress.cpp
+++ b/src/scripts/outland/coilfang_resevoir/serpent_shrine/boss_fathomlord_karathress.cpp
@@ -665,7 +665,7 @@ struct boss_fathomguard_caribdisAI : public ScriptedAI
// It can be cast on any of the mobs
Unit *pUnit = NULL;
- while(pUnit == NULL || !pUnit->isAlive())
+ while (pUnit == NULL || !pUnit->isAlive())
{
pUnit = selectAdvisorUnit();
}
diff --git a/src/scripts/outland/coilfang_resevoir/serpent_shrine/boss_morogrim_tidewalker.cpp b/src/scripts/outland/coilfang_resevoir/serpent_shrine/boss_morogrim_tidewalker.cpp
index 156d57cb47a..3ba2272463c 100644
--- a/src/scripts/outland/coilfang_resevoir/serpent_shrine/boss_morogrim_tidewalker.cpp
+++ b/src/scripts/outland/coilfang_resevoir/serpent_shrine/boss_morogrim_tidewalker.cpp
@@ -235,7 +235,7 @@ struct boss_morogrim_tidewalkerAI : public ScriptedAI
if (pTarget)
itr = list.find(pTarget->GetGUID());
++counter;
- } while(itr != list.end());
+ } while (itr != list.end());
if (pTarget)
{