mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
Correction made to file name
Correction made to file name
This commit is contained in:
parent
2cffff301e
commit
ada080f9c0
8 changed files with 11 additions and 11 deletions
|
|
@ -60,7 +60,7 @@ void PetAI::MoveInLineOfSight(Unit* u)
|
|||
return;
|
||||
|
||||
if (u->IsTargetableForAttack() && m_creature->IsHostileTo(u) &&
|
||||
u->IsInAccessablePlaceFor(m_creature))
|
||||
u->isInAccessablePlaceFor(m_creature))
|
||||
{
|
||||
float attackRadius = m_creature->GetAttackDistance(u);
|
||||
if (m_creature->IsWithinDistInMap(u, attackRadius) && m_creature->GetDistanceZ(u) <= CREATURE_Z_ATTACK_RANGE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue