From 49d05ba9aa1cd5c1f3ae96546283e6d03a037ff7 Mon Sep 17 00:00:00 2001 From: Spp Date: Wed, 7 Apr 2010 22:59:46 +0200 Subject: Code style (game + scripts only): "( " --> "(" " )" --> ")" --HG-- branch : trunk --- src/game/GridNotifiers.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/game/GridNotifiers.cpp') diff --git a/src/game/GridNotifiers.cpp b/src/game/GridNotifiers.cpp index 0c4971feb33..0b38ae15c8f 100644 --- a/src/game/GridNotifiers.cpp +++ b/src/game/GridNotifiers.cpp @@ -315,7 +315,7 @@ MessageDistDeliverer::Visit(DynamicObjectMapType &m) void MessageDistDeliverer::VisitObject(Player* plr) { - if ( !i_ownTeamOnly || (i_source.GetTypeId() == TYPEID_PLAYER && plr->GetTeam() == ((Player&)i_source).GetTeam()) ) + if (!i_ownTeamOnly || (i_source.GetTypeId() == TYPEID_PLAYER && plr->GetTeam() == ((Player&)i_source).GetTeam())) { SendPacket(plr); } @@ -340,10 +340,10 @@ bool CannibalizeObjectCheck::operator()(Corpse* u) Player* owner = ObjectAccessor::FindPlayer(u->GetOwnerGUID()); - if ( !owner || i_funit->IsFriendlyTo(owner)) + if (!owner || i_funit->IsFriendlyTo(owner)) return false; - if (i_funit->IsWithinDistInMap(u, i_range) ) + if (i_funit->IsWithinDistInMap(u, i_range)) return true; return false; -- cgit v1.2.3