aboutsummaryrefslogtreecommitdiff
path: root/src/game/GridNotifiers.h
diff options
context:
space:
mode:
authorQAston <none@none>2009-04-06 13:31:14 +0200
committerQAston <none@none>2009-04-06 13:31:14 +0200
commit20c02ef7606557a3932d2a3ca052242224a53b4a (patch)
tree8b7718b7938184f9c0d0aa3dba70a46316786bfa /src/game/GridNotifiers.h
parent850537ece97dde9ee788ebc6e2c8edd7285b0d00 (diff)
*Update of aura system.
--HG-- branch : trunk
Diffstat (limited to 'src/game/GridNotifiers.h')
-rw-r--r--src/game/GridNotifiers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GridNotifiers.h b/src/game/GridNotifiers.h
index e0d96221d04..a7b8c753782 100644
--- a/src/game/GridNotifiers.h
+++ b/src/game/GridNotifiers.h
@@ -960,7 +960,7 @@ namespace Trinity
bool operator()(Unit* u)
{
if(u->isAlive() && u->isInCombat() && /*!i_obj->IsHostileTo(u)*/ i_obj->IsFriendlyTo(u) && i_obj->IsWithinDistInMap(u, i_range) &&
- !(u->HasAura(i_spell, 0) || u->HasAura(i_spell, 1) || u->HasAura(i_spell, 2)))
+ !(u->HasAura(i_spell)))
{
return true;
}