aboutsummaryrefslogtreecommitdiff
path: root/src/scripts/outland/netherstorm.cpp
diff options
context:
space:
mode:
authorSpp <none@none>2010-04-07 19:14:10 +0200
committerSpp <none@none>2010-04-07 19:14:10 +0200
commitd19e12708001fbef2308be0e8cb5375a2ac7af48 (patch)
tree09fc8f67a6197802e0512950f0b0a3438a9834e8 /src/scripts/outland/netherstorm.cpp
parent2e127f7a30706dc1d40c65de22ff02851732da24 (diff)
Code style (game + scripts only):
"if(" --> "if (" --HG-- branch : trunk
Diffstat (limited to 'src/scripts/outland/netherstorm.cpp')
-rw-r--r--src/scripts/outland/netherstorm.cpp8
1 files changed, 4 insertions, 4 deletions
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<HostileReference*>::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<Unit*>::const_iterator it = UnitsWithMana.begin();
std::advance(it, rand() % UnitsWithMana.size());