diff options
author | Spp <none@none> | 2010-04-07 22:59:46 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-04-07 22:59:46 +0200 |
commit | 49d05ba9aa1cd5c1f3ae96546283e6d03a037ff7 (patch) | |
tree | f7e6135573366a686c1f527e16a0a7d42a7877ff /src/game/ReactorAI.cpp | |
parent | d19e12708001fbef2308be0e8cb5375a2ac7af48 (diff) |
Code style (game + scripts only):
"( " --> "("
" )" --> ")"
--HG--
branch : trunk
Diffstat (limited to 'src/game/ReactorAI.cpp')
-rw-r--r-- | src/game/ReactorAI.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/ReactorAI.cpp b/src/game/ReactorAI.cpp index 8d1f2dea8eb..661d9ff3cb7 100644 --- a/src/game/ReactorAI.cpp +++ b/src/game/ReactorAI.cpp @@ -30,7 +30,7 @@ int ReactorAI::Permissible(const Creature *creature) { - if ( creature->isCivilian() || creature->IsNeutralToAll() ) + if (creature->isCivilian() || creature->IsNeutralToAll()) return PERMIT_BASE_REACTIVE; return PERMIT_BASE_NO; @@ -48,9 +48,9 @@ ReactorAI::UpdateAI(const uint32 /*time_diff*/) if (!UpdateVictim()) return; - if ( m_creature->isAttackReady() ) + if (m_creature->isAttackReady()) { - if ( m_creature->IsWithinMeleeRange(m_creature->getVictim())) + if (m_creature->IsWithinMeleeRange(m_creature->getVictim())) { m_creature->AttackerStateUpdate(m_creature->getVictim()); m_creature->resetAttackTimer(); |