From a37211cb83e317b4381372ac9cf906074f9f8644 Mon Sep 17 00:00:00 2001 From: KimLS Date: Sun, 17 Feb 2013 15:40:29 -0800 Subject: [PATCH] Forgot to take out my comment code - doh --- zone/QuestParserCollection.cpp | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/zone/QuestParserCollection.cpp b/zone/QuestParserCollection.cpp index af82c2958..e2855770e 100644 --- a/zone/QuestParserCollection.cpp +++ b/zone/QuestParserCollection.cpp @@ -89,36 +89,6 @@ bool QuestParserCollection::HasQuestSub(uint32 npcid, const char *subname) { } } } - - //std::map::iterator iter = _npc_quest_status.find(npcid); - //if(_global_npc_quest_status == QuestUnloaded){ - // QuestInterface *qi = GetQIByGlobalNPCQuest(); - // if(qi) { - // _global_npc_quest_status = qi->GetIdentifier(); - // return qi->HasGlobalQuestSub(subname); - // } - //} - // - //if(iter != _npc_quest_status.end()) { - // //loaded or failed to load - // if(iter->second != QuestFailedToLoad) { - // std::map::iterator qiter = _interfaces.find(iter->second); - // return qiter->second->HasQuestSub(npcid, subname) || qiter->second->HasGlobalQuestSub(subname); - // } - //} else { - // QuestInterface *qi = GetQIByGlobalNPCQuest(); - // if(qi) { - // _global_npc_quest_status = qi->GetIdentifier(); - // } - // - // qi = GetQIByNPCQuest(npcid); - // if(qi) { - // _npc_quest_status[npcid] = qi->GetIdentifier(); - // return qi->HasQuestSub(npcid, subname) || qi->HasGlobalQuestSub(subname); - // } else { - // _npc_quest_status[npcid] = QuestFailedToLoad; - // } - //} return false; }