mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 20:08:37 +00:00
First attempt at fixing zone shutdown crashes. (Mob timer processing accessing released resources.)
This commit is contained in:
@@ -600,9 +600,8 @@ QuestInterface *QuestParserCollection::GetQIByNPCQuest(uint32 npcid, std::string
|
||||
}
|
||||
|
||||
QuestInterface *QuestParserCollection::GetQIByPlayerQuest(std::string &filename) {
|
||||
|
||||
if(!zone)
|
||||
return nullptr;
|
||||
if(!zone || !zone->IsLoaded())
|
||||
return nullptr;
|
||||
|
||||
//first look for /quests/zone/player_v[instance_version].ext (precedence)
|
||||
filename = "quests/";
|
||||
|
||||
Reference in New Issue
Block a user