Skip to content

Commit

Permalink
More hackfix removal
Browse files Browse the repository at this point in the history
again, ref: cmangos/issues#218
  • Loading branch information
Phatcat committed Sep 14, 2016
1 parent 8dc19ac commit 9fd7838
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/game/AI/CreatureEventAI.cpp
Expand Up @@ -1315,10 +1315,7 @@ void CreatureEventAI::MoveInLineOfSight(Unit* who)
if (m_creature->IsWithinDistInMap(who, attackRadius) && m_creature->IsWithinLOSInMap(who))
{
if (!m_creature->getVictim())
{
AttackStart(who);
who->RemoveSpellsCausingAura(SPELL_AURA_MOD_STEALTH);
}
else if (m_creature->GetMap()->IsDungeon())
{
m_creature->AddThreat(who);
Expand Down

0 comments on commit 9fd7838

Please sign in to comment.