mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 13:41:31 +00:00
Replaced expensive IsPet() with GetOwnerID().
This commit is contained in:
parent
fa2caf8f83
commit
06f3d40c28
@ -1321,7 +1321,7 @@ void Mob::AI_Process() {
|
||||
}
|
||||
// mob/npc waits until call for help complete, others can move
|
||||
else if (AI_movement_timer->Check() && target &&
|
||||
(IsPet() || IsMerc() || IsBot() ||
|
||||
(GetOwnerID() || IsBot() ||
|
||||
CastToNPC()->GetCombatEvent())) {
|
||||
if (!IsRooted()) {
|
||||
LogAI("Pursuing [{}] while engaged", target->GetName());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user