aboutsummaryrefslogtreecommitdiff
path: root/src/game/GridNotifiersImpl.h
diff options
context:
space:
mode:
authormaximius <none@none>2009-10-18 18:38:46 -0700
committermaximius <none@none>2009-10-18 18:38:46 -0700
commitd22768a6b5aa3eae1c58a418425eca08905cd677 (patch)
treed229851a558defcbaf3fb010947a80726d01c8c6 /src/game/GridNotifiersImpl.h
parent864b3f31e94e46077634ec6bfcad1769f4f2c889 (diff)
*Cleanup
--HG-- branch : trunk
Diffstat (limited to 'src/game/GridNotifiersImpl.h')
-rw-r--r--src/game/GridNotifiersImpl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/GridNotifiersImpl.h b/src/game/GridNotifiersImpl.h
index 5a439b9c164..b15b57eff29 100644
--- a/src/game/GridNotifiersImpl.h
+++ b/src/game/GridNotifiersImpl.h
@@ -166,7 +166,7 @@ inline void Trinity::DynamicObjectUpdater::VisitHelper(Unit* target)
return;
//Check player targets and remove if in GM mode or GM invisibility (for not self casting case)
- if( target->GetTypeId()==TYPEID_PLAYER && target != i_check && (((Player*)target)->isGameMaster() || ((Player*)target)->GetVisibility()==VISIBILITY_OFF) )
+ if( target->GetTypeId() == TYPEID_PLAYER && target != i_check && (((Player*)target)->isGameMaster() || ((Player*)target)->GetVisibility()==VISIBILITY_OFF) )
return;
if (i_dynobject.IsAffecting(target))
@@ -190,7 +190,7 @@ inline void Trinity::DynamicObjectUpdater::VisitHelper(Unit* target)
if(!i_check->IsFriendlyTo(target))
return;
}
- else if( i_check->GetTypeId()==TYPEID_PLAYER )
+ else if( i_check->GetTypeId() == TYPEID_PLAYER )
{
if (i_check->IsFriendlyTo( target ))
return;