diff options
author | megamage <none@none> | 2008-11-27 11:28:40 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-11-27 11:28:40 -0600 |
commit | 4b4956f238a3af472a095710e1259c24254cd49f (patch) | |
tree | 6470678a09a8165840b2812a38c7bd17cb30e816 /src | |
parent | 184c75247be792f5b1adb050a4a6ea5d8dbbeb2e (diff) |
*Fix the bug that stealth spells crash the server. (Finally we know what is wrong.)
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/AggressorAI.cpp | 2 | ||||
-rw-r--r-- | src/game/GuardAI.cpp | 2 | ||||
-rw-r--r-- | src/game/PetAI.cpp | 2 |
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); } } } |