From 9f63498a6449b9f15f86c02d7fbe81da30f38324 Mon Sep 17 00:00:00 2001 From: KLS Date: Mon, 18 Feb 2013 09:12:14 -0800 Subject: [PATCH] Quest Interface wont attempt to keep loading GlobalQuest sub over and over and over... --- zone/QuestParserCollection.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/zone/QuestParserCollection.cpp b/zone/QuestParserCollection.cpp index 35af51c38..05e43733b 100644 --- a/zone/QuestParserCollection.cpp +++ b/zone/QuestParserCollection.cpp @@ -81,10 +81,9 @@ bool QuestParserCollection::HasQuestSub(uint32 npcid, const char *subname) { } } } else { - QuestInterface *qi = GetQIByGlobalNPCQuest(); - if(qi) { - _global_npc_quest_status = qi->GetIdentifier(); - if(qi->HasGlobalQuestSub(subname)) { + if(_global_npc_quest_status != QuestFailedToLoad) { + std::map::iterator qiter = _interfaces.find(_global_npc_quest_status); + if(qiter->second->HasGlobalQuestSub(subname)) { return true; } }