From d19e12708001fbef2308be0e8cb5375a2ac7af48 Mon Sep 17 00:00:00 2001 From: Spp Date: Wed, 7 Apr 2010 19:14:10 +0200 Subject: Code style (game + scripts only): "if(" --> "if (" --HG-- branch : trunk --- src/scripts/outland/netherstorm.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/scripts/outland/netherstorm.cpp') diff --git a/src/scripts/outland/netherstorm.cpp b/src/scripts/outland/netherstorm.cpp index 6e339890707..587f432c6bb 100644 --- a/src/scripts/outland/netherstorm.cpp +++ b/src/scripts/outland/netherstorm.cpp @@ -711,7 +711,7 @@ struct mob_phase_hunterAI : public ScriptedAI ManaBurnTimer = 5000 + (rand() % 3 * 1000); // 5-8 sec cd - if(m_creature->GetEntry() == NPC_DRAINED_PHASE_HUNTER_ENTRY) + if (m_creature->GetEntry() == NPC_DRAINED_PHASE_HUNTER_ENTRY) m_creature->UpdateEntry(NPC_PHASE_HUNTER_ENTRY); } @@ -748,13 +748,13 @@ struct mob_phase_hunterAI : public ScriptedAI for (std::list::const_iterator itr = AggroList.begin(); itr != AggroList.end(); ++itr) { - if(Unit *pUnit = Unit::GetUnit(*m_creature, (*itr)->getUnitGuid())) + if (Unit *pUnit = Unit::GetUnit(*m_creature, (*itr)->getUnitGuid())) { - if(pUnit->GetCreateMana() > 0) + if (pUnit->GetCreateMana() > 0) UnitsWithMana.push_back(pUnit); } } - if(!UnitsWithMana.empty()) + if (!UnitsWithMana.empty()) { std::list::const_iterator it = UnitsWithMana.begin(); std::advance(it, rand() % UnitsWithMana.size()); -- cgit v1.2.3