mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-26 07:30:48 +00:00
Resolve an issue with NPC's not returning back to guard point when once engaged and dropped aggro
This commit is contained in:
1 parent
43204e52f8
commit
6c1efd74cb
2 files changed
+8
-3
No files matched your search
+6
-1
@@ -1006,7 +1006,12 @@ void Mob::AI_Process() {
|
||||
}
|
||||
else if (!this->CheckLosFN(this->GetTarget())) {
|
||||
Mob* target = this->GetTarget();
|
||||
this->GMMove(target->GetX(), target->GetY(), target->GetZ(), target->GetHeading());
|
||||
|
||||
m_Position.x = target->GetX();
|
||||
m_Position.y = target->GetY();
|
||||
m_Position.z = target->GetZ();
|
||||
m_Position.w = target->GetHeading();
|
||||
SendPosition();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user