mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-05 19:32:25 +00:00
Removed a usage of Mob::DistNoRootNoZ and used ComparativeDistanceNoZ instead
This commit is contained in:
parent
3290ddaffa
commit
4ced883373
@ -3865,7 +3865,7 @@ void Bot::PetAIProcess() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(botPet->DistNoRootNoZ(*botPet->GetTarget()) < botPet->GetTarget()->GetSize()) {
|
else if(ComparativeDistanceNoZ(botPet->GetPosition(), botPet->GetTarget()->GetPosition()) < botPet->GetTarget()->GetSize()) {
|
||||||
// Let's try to adjust our melee range so we don't appear to be bunched up
|
// Let's try to adjust our melee range so we don't appear to be bunched up
|
||||||
bool isBehindMob = false;
|
bool isBehindMob = false;
|
||||||
bool moveBehindMob = false;
|
bool moveBehindMob = false;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user