mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 18:51:29 +00:00
[Crash] Fix rarer crash in EntityList::MobProcess (#4319)
This commit is contained in:
parent
6bcd8fea18
commit
66af3d2f63
@ -526,7 +526,7 @@ void EntityList::MobProcess()
|
|||||||
// -- the zone is newly empty and we're allowing mobs to settle
|
// -- the zone is newly empty and we're allowing mobs to settle
|
||||||
if (
|
if (
|
||||||
numclients > 0 || zone->quest_idle_override ||
|
numclients > 0 || zone->quest_idle_override ||
|
||||||
(s2 && s2->PathWhenZoneIdle()) ||
|
(mob && s2 && s2->PathWhenZoneIdle()) ||
|
||||||
mob_settle_timer->Enabled()
|
mob_settle_timer->Enabled()
|
||||||
) {
|
) {
|
||||||
mob_dead = !mob->Process();
|
mob_dead = !mob->Process();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user