aboutsummaryrefslogtreecommitdiff
path: root/src/game/AggressorAI.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2008-11-27 11:28:40 -0600
committermegamage <none@none>2008-11-27 11:28:40 -0600
commit4b4956f238a3af472a095710e1259c24254cd49f (patch)
tree6470678a09a8165840b2812a38c7bd17cb30e816 /src/game/AggressorAI.cpp
parent184c75247be792f5b1adb050a4a6ea5d8dbbeb2e (diff)
*Fix the bug that stealth spells crash the server. (Finally we know what is wrong.)
--HG-- branch : trunk
Diffstat (limited to 'src/game/AggressorAI.cpp')
-rw-r--r--src/game/AggressorAI.cpp2
1 files changed, 1 insertions, 1 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);
}
}
}