mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[7712] Fixed typo in EventAI for preventing aggro from civilians.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
4a32920b9d
commit
727f590f6e
2 changed files with 2 additions and 2 deletions
|
|
@ -1214,7 +1214,7 @@ void CreatureEventAI::MoveInLineOfSight(Unit *who)
|
|||
}
|
||||
}
|
||||
|
||||
if (m_creature->isCivilian() && m_creature->IsNeutralToAll())
|
||||
if (m_creature->isCivilian() || m_creature->IsNeutralToAll())
|
||||
return;
|
||||
|
||||
if (!m_creature->hasUnitState(UNIT_STAT_STUNNED) && who->isTargetableForAttack() &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue