aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/AggressorAI.cpp2
-rw-r--r--src/game/GuardAI.cpp2
-rw-r--r--src/game/PetAI.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/game/AggressorAI.cpp b/src/game/AggressorAI.cpp
index 4b090f3c799..27c1ad6ee6c 100644
--- a/src/game/AggressorAI.cpp
+++ b/src/game/AggressorAI.cpp
@@ -57,7 +57,7 @@ AggressorAI::MoveInLineOfSight(Unit *u)
if(i_creature.IsWithinDistInMap(u, attackRadius) && i_creature.IsWithinLOSInMap(u) )
{
AttackStart(u);
- u->RemoveSpellsCausingAura(SPELL_AURA_MOD_STEALTH);
+ //u->RemoveSpellsCausingAura(SPELL_AURA_MOD_STEALTH);
}
}
}
diff --git a/src/game/GuardAI.cpp b/src/game/GuardAI.cpp
index 8c6a8d3f774..8c029a5531e 100644
--- a/src/game/GuardAI.cpp
+++ b/src/game/GuardAI.cpp
@@ -52,7 +52,7 @@ void GuardAI::MoveInLineOfSight(Unit *u)
{
//Need add code to let guard support player
AttackStart(u);
- u->RemoveSpellsCausingAura(SPELL_AURA_MOD_STEALTH);
+ //u->RemoveSpellsCausingAura(SPELL_AURA_MOD_STEALTH);
}
}
}
diff --git a/src/game/PetAI.cpp b/src/game/PetAI.cpp
index e8fa449fe61..449d8b9924a 100644
--- a/src/game/PetAI.cpp
+++ b/src/game/PetAI.cpp
@@ -57,7 +57,7 @@ void PetAI::MoveInLineOfSight(Unit *u)
if(i_pet.IsWithinLOSInMap(u))
{
AttackStart(u);
- u->RemoveSpellsCausingAura(SPELL_AURA_MOD_STEALTH);
+ //u->RemoveSpellsCausingAura(SPELL_AURA_MOD_STEALTH);
}
}
}