mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-29 04:28:00 +00:00
Merge pull request #1100 from noudess/empty_processing
Allow quests to turn on mob processing in empty zones
This commit is contained in:
@@ -857,6 +857,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())
|
||||
|
||||
Reference in New Issue
Block a user