From 4635fbc0201846721287a1eb730491262237babd Mon Sep 17 00:00:00 2001 From: Spp Date: Thu, 8 Apr 2010 08:20:08 +0200 Subject: Code Style (game + scripts only): "!=" --> " != " (when needed) " !=" --> " !=" "!= " --> "!= " --HG-- branch : trunk --- src/game/CreatureEventAI.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/CreatureEventAI.cpp') diff --git a/src/game/CreatureEventAI.cpp b/src/game/CreatureEventAI.cpp index d4c01145f2b..ef6f556ca99 100644 --- a/src/game/CreatureEventAI.cpp +++ b/src/game/CreatureEventAI.cpp @@ -263,7 +263,7 @@ bool CreatureEventAI::ProcessEvent(CreatureEventAIHolder& pHolder, Unit* pAction case EVENT_T_SUMMONED_UNIT: { //Prevent event from occuring on no unit or non creatures - if (!pActionInvoker || pActionInvoker->GetTypeId()!=TYPEID_UNIT) + if (!pActionInvoker || pActionInvoker->GetTypeId() != TYPEID_UNIT) return false; //Creature id doesn't match up @@ -567,7 +567,7 @@ void CreatureEventAI::ProcessAction(CreatureEventAI_Action const& action, uint32 break; case ACTION_T_COMBAT_MOVEMENT: // ignore no affect case - if (CombatMovementEnabled == (action.combat_movement.state!=0)) + if (CombatMovementEnabled == (action.combat_movement.state != 0)) return; CombatMovementEnabled = action.combat_movement.state != 0; -- cgit v1.2.3