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

This commit is contained in:
Noudess
2020-07-27 10:43:24 -04:00
parent 44a1256eb9
commit 8e7591cd4b
7 changed files with 32 additions and 1 deletions
+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())