mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-22 14:42:24 +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()) {
|
||||
//we did something, so do not process movement.
|
||||
}
|
||||
else if (AI_movement_timer->Check())
|
||||
else if (AI_movement_timer->Check() && target)
|
||||
{
|
||||
if (!IsRooted()) {
|
||||
Log(Logs::Detail, Logs::AI, "Pursuing %s while engaged.", target->GetName());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user