mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 13:57:16 +00:00
First attempt at fixing zone shutdown crashes. (Mob timer processing accessing released resources.)
This commit is contained in:
1 parent
16d47a2c47
commit
52ae78709b
5 files changed
+48
-5
No files matched your search
+1
-1
@@ -1598,7 +1598,7 @@ Corpse *EntityList::GetCorpseByName(const char *name)
|
||||
|
||||
Spawn2 *EntityList::GetSpawnByID(uint32 id)
|
||||
{
|
||||
if (!zone)
|
||||
if (!zone || !zone->IsLoaded())
|
||||
return nullptr;
|
||||
|
||||
LinkedListIterator<Spawn2 *> iterator(zone->spawn2_list);
|
||||
|
||||
Reference in new issue
Block a user