mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-25 00:12:27 +00:00
Potential pathing crash fix
This commit is contained in:
parent
e80f3c87e9
commit
f29fe17496
@ -1298,7 +1298,7 @@ void Mob::AI_Process() {
|
|||||||
if (AI_PursueCastCheck()) {
|
if (AI_PursueCastCheck()) {
|
||||||
//we did something, so do not process movement.
|
//we did something, so do not process movement.
|
||||||
}
|
}
|
||||||
else if (AI_movement_timer->Check())
|
else if (AI_movement_timer->Check() && target)
|
||||||
{
|
{
|
||||||
if (!IsRooted()) {
|
if (!IsRooted()) {
|
||||||
Log(Logs::Detail, Logs::AI, "Pursuing %s while engaged.", target->GetName());
|
Log(Logs::Detail, Logs::AI, "Pursuing %s while engaged.", target->GetName());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user