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/game/ReactorAI.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/game/ReactorAI.cpp') diff --git a/src/game/ReactorAI.cpp b/src/game/ReactorAI.cpp index 07969937358..8d1f2dea8eb 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; @@ -45,12 +45,12 @@ void ReactorAI::UpdateAI(const uint32 /*time_diff*/) { // update i_victimGuid if m_creature->getVictim() !=0 and changed - if(!UpdateVictim()) + 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(); -- cgit v1.2.3