From 2454c290b84e04bd0321ca94e0be8c8dc7eedbe8 Mon Sep 17 00:00:00 2001 From: Spp Date: Wed, 7 Apr 2010 23:25:02 +0200 Subject: Code Style (game + scripts only): "==" --> " == " (when needed) --HG-- branch : trunk --- src/game/GridNotifiers.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/game/GridNotifiers.h') diff --git a/src/game/GridNotifiers.h b/src/game/GridNotifiers.h index addc55d8181..1c806678d5f 100644 --- a/src/game/GridNotifiers.h +++ b/src/game/GridNotifiers.h @@ -497,7 +497,7 @@ namespace Trinity { if (i_funit->GetTypeId() != TYPEID_PLAYER || !((Player*)i_funit)->isHonorOrXPTarget(u) || u->getDeathState() != CORPSE || u->isDeadByDefault() || u->isInFlight() || - (u->GetCreatureTypeMask() & (1 << (CREATURE_TYPE_HUMANOID-1)))==0 || + (u->GetCreatureTypeMask() & (1 << (CREATURE_TYPE_HUMANOID-1))) == 0 || (u->GetDisplayId() != u->GetNativeDisplayId())) return false; @@ -551,7 +551,7 @@ namespace Trinity bool operator()(Creature* u) { if (i_funit->IsFriendlyTo(u) || u->isAlive() || u->isInFlight() || - (u->GetCreatureTypeMask() & CREATURE_TYPEMASK_HUMANOID_OR_UNDEAD)==0) + (u->GetCreatureTypeMask() & CREATURE_TYPEMASK_HUMANOID_OR_UNDEAD) == 0) return false; return i_funit->IsWithinDistInMap(u, i_range); @@ -935,7 +935,7 @@ namespace Trinity struct AnyStealthedCheck { - bool operator()(Unit* u) { return u->GetVisibility()==VISIBILITY_GROUP_STEALTH; } + bool operator()(Unit* u) { return u->GetVisibility() == VISIBILITY_GROUP_STEALTH; } }; // Creature checks -- cgit v1.2.3