mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 14:57:18 +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
@@ -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