Skip to content

Commit

Permalink
Remove old hackfix
Browse files Browse the repository at this point in the history
Stealth shouldn't be removed manually like this, and not just for aggroing
ref: cmangos/issues#218
  • Loading branch information
Phatcat committed Sep 13, 2016
1 parent 5dd5a43 commit db04386
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/game/AI/AggressorAI.cpp
Expand Up @@ -52,10 +52,7 @@ AggressorAI::MoveInLineOfSight(Unit* u)
if (m_creature->IsWithinDistInMap(u, attackRadius) && m_creature->IsWithinLOSInMap(u))
{
if (!m_creature->getVictim())
{
AttackStart(u);
u->RemoveSpellsCausingAura(SPELL_AURA_MOD_STEALTH);
}
else if (sMapStore.LookupEntry(m_creature->GetMapId())->IsDungeon())
{
m_creature->AddThreat(u);
Expand Down

0 comments on commit db04386

Please sign in to comment.