Export clear_npctype_cache as both lua/perl general functions.

This commit is contained in:
KimLS
2014-02-01 14:55:51 -08:00
parent 6e0a214bcc
commit 8b1262b198
5 changed files with 31 additions and 2 deletions
+6
View File
@@ -2908,6 +2908,12 @@ bool QuestManager::DisableRecipe(uint32 recipe_id)
return (success);
}
void QuestManager::ClearNPCTypeCache(int npctype_id) {
if (zone) {
zone->ClearNPCTypeCache(npctype_id);
}
}
Client *QuestManager::GetInitiator() const {
if(!quests_running_.empty()) {
running_quest e = quests_running_.top();