Added support for quests to enable and then redisable processing of movement.

This commit is contained in:
Noudess committed 2020-07-27 10:43:24 -04:00
1 parent 44a1256eb9
commit 8e7591cd4b
7 files changed
+32 -1

No files matched your search

+9
View File
@@ -856,6 +856,15 @@ void QuestManager::repopzone() {
}
}
void QuestManager::processmobswhilezoneempty(bool on) {
if(zone) {
zone->process_mobs_while_empty = on;
}
else {
LogQuests("QuestManager::processmobswhilezoneempty called with nullptr zone. Probably syntax error in quest file");
}
}
void QuestManager::settarget(const char *type, int target_id) {
QuestManagerCurrentQuestVars();
if (!owner || !owner->IsNPC())