mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +00:00
Cleanup Operator padding
This commit is contained in:
parent
9141299127
commit
e32b9953a1
264 changed files with 6715 additions and 6715 deletions
|
|
@ -134,8 +134,8 @@ AggressorAI::UpdateAI(const uint32 /*diff*/)
|
|||
bool
|
||||
AggressorAI::IsVisible(Unit* pl) const
|
||||
{
|
||||
return m_creature->IsWithinDist(pl,sWorld.getConfig(CONFIG_FLOAT_SIGHT_MONSTER))
|
||||
&& pl->isVisibleForOrDetect(m_creature,m_creature,true);
|
||||
return m_creature->IsWithinDist(pl, sWorld.getConfig(CONFIG_FLOAT_SIGHT_MONSTER))
|
||||
&& pl->isVisibleForOrDetect(m_creature, m_creature, true);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -144,7 +144,7 @@ AggressorAI::AttackStart(Unit* u)
|
|||
if (!u)
|
||||
return;
|
||||
|
||||
if (m_creature->Attack(u,true))
|
||||
if (m_creature->Attack(u, true))
|
||||
{
|
||||
i_victimGuid = u->GetObjectGuid();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue