From a12c0aef85897d1a8af2c03ff3e888c7c2e62848 Mon Sep 17 00:00:00 2001 From: Spp Date: Sat, 24 Apr 2010 17:48:52 +0200 Subject: Fix compile ¬¬ + Code Style (for, if, while) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --HG-- branch : trunk --- .../frozen_halls/forge_of_souls/boss_bronjahm.cpp | 2 +- .../forge_of_souls/boss_devourer_of_souls.cpp | 2 +- .../frozen_halls/forge_of_souls/forge_of_souls.cpp | 20 ++++++++++---------- 3 files changed, 12 insertions(+), 12 deletions(-) (limited to 'src/scripts') diff --git a/src/scripts/northrend/frozen_halls/forge_of_souls/boss_bronjahm.cpp b/src/scripts/northrend/frozen_halls/forge_of_souls/boss_bronjahm.cpp index 8133a0dfea7..e63c3757d94 100644 --- a/src/scripts/northrend/frozen_halls/forge_of_souls/boss_bronjahm.cpp +++ b/src/scripts/northrend/frozen_halls/forge_of_souls/boss_bronjahm.cpp @@ -151,7 +151,7 @@ struct boss_bronjahmAI : public ScriptedAI return; } - while(uint32 eventId = events.ExecuteEvent()) + while (uint32 eventId = events.ExecuteEvent()) { switch(eventId) { diff --git a/src/scripts/northrend/frozen_halls/forge_of_souls/boss_devourer_of_souls.cpp b/src/scripts/northrend/frozen_halls/forge_of_souls/boss_devourer_of_souls.cpp index 94f29fecb23..6811ba953e2 100644 --- a/src/scripts/northrend/frozen_halls/forge_of_souls/boss_devourer_of_souls.cpp +++ b/src/scripts/northrend/frozen_halls/forge_of_souls/boss_devourer_of_souls.cpp @@ -241,7 +241,7 @@ struct boss_devourer_of_soulsAI : public ScriptedAI if (me->hasUnitState(UNIT_STAT_CASTING)) return; - while(uint32 eventId = events.ExecuteEvent()) + while (uint32 eventId = events.ExecuteEvent()) { switch(eventId) { diff --git a/src/scripts/northrend/frozen_halls/forge_of_souls/forge_of_souls.cpp b/src/scripts/northrend/frozen_halls/forge_of_souls/forge_of_souls.cpp index 66ca42e1ed5..5c85da69898 100644 --- a/src/scripts/northrend/frozen_halls/forge_of_souls/forge_of_souls.cpp +++ b/src/scripts/northrend/frozen_halls/forge_of_souls/forge_of_souls.cpp @@ -231,7 +231,7 @@ struct npc_sylvanas_fosAI: public ScriptedAI //if (me->hasUnitState(UNIT_STAT_CASTING)) // return; - //while(uint32 eventId = events.ExecuteEvent()) + //while (uint32 eventId = events.ExecuteEvent()) //{ // switch(eventId) // { @@ -337,7 +337,7 @@ struct npc_jaina_fosAI: public ScriptedAI //if (me->hasUnitState(UNIT_STAT_CASTING)) // return; - //while(uint32 eventId = events.ExecuteEvent()) + //while (uint32 eventId = events.ExecuteEvent()) //{ // switch(eventId) // { @@ -406,7 +406,7 @@ struct mob_spiteful_apparitionAI: public ScriptedAI if (me->hasUnitState(UNIT_STAT_CASTING)) return; - while(uint32 eventId = events.ExecuteEvent()) + while (uint32 eventId = events.ExecuteEvent()) { switch(eventId) { @@ -451,7 +451,7 @@ struct mob_spectral_wardenAI: public ScriptedAI if (me->hasUnitState(UNIT_STAT_CASTING)) return; - while(uint32 eventId = events.ExecuteEvent()) + while (uint32 eventId = events.ExecuteEvent()) { switch(eventId) { @@ -500,7 +500,7 @@ struct mob_soulguard_watchmanAI: public ScriptedAI if (me->hasUnitState(UNIT_STAT_CASTING)) return; - while(uint32 eventId = events.ExecuteEvent()) + while (uint32 eventId = events.ExecuteEvent()) { switch(eventId) { @@ -548,7 +548,7 @@ struct mob_soulguard_reaperAI: public ScriptedAI if (me->hasUnitState(UNIT_STAT_CASTING)) return; - while(uint32 eventId = events.ExecuteEvent()) + while (uint32 eventId = events.ExecuteEvent()) { switch(eventId) { @@ -599,7 +599,7 @@ struct mob_soulguard_bonecasterAI: public ScriptedAI if (me->hasUnitState(UNIT_STAT_CASTING)) return; - while(uint32 eventId = events.ExecuteEvent()) + while (uint32 eventId = events.ExecuteEvent()) { switch(eventId) { @@ -654,7 +654,7 @@ struct mob_soulguard_animatorAI: public ScriptedAI if (me->hasUnitState(UNIT_STAT_CASTING)) return; - while(uint32 eventId = events.ExecuteEvent()) + while (uint32 eventId = events.ExecuteEvent()) { switch(eventId) { @@ -716,7 +716,7 @@ struct mob_soulguard_adeptAI: public ScriptedAI if (me->hasUnitState(UNIT_STAT_CASTING)) return; - while(uint32 eventId = events.ExecuteEvent()) + while (uint32 eventId = events.ExecuteEvent()) { switch(eventId) { @@ -774,7 +774,7 @@ struct mob_soul_horrorAI: public ScriptedAI if (me->hasUnitState(UNIT_STAT_CASTING)) return; - while(uint32 eventId = events.ExecuteEvent()) + while (uint32 eventId = events.ExecuteEvent()) { switch(eventId) { -- cgit v1.2.3