diff --git a/zone/questmgr.cpp b/zone/questmgr.cpp index 711e75f81..84433c0db 100644 --- a/zone/questmgr.cpp +++ b/zone/questmgr.cpp @@ -869,12 +869,10 @@ void QuestManager::depop_withtimer(int npc_type) { } void QuestManager::depopall(int npc_type) { - QuestManagerCurrentQuestVars(); - if(owner && owner->IsNPC() && (npc_type > 0)) { + if (npc_type) { entity_list.DepopAll(npc_type); - } - else { - LogQuests("QuestManager::depopall called with nullptr owner, non-NPC owner, or invalid NPC Type ID. Probably syntax error in quest file"); + } else { + LogQuests("QuestManager::depopall called with nullptr owner, non-NPC owner, or invalid NPC Type ID. Probably syntax error in quest file."); } }