mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 12:31:31 +00:00
[Bug Fix] quest::processmobswhilezoneempty() fix. (#3971)
This commit is contained in:
parent
3b7a138de4
commit
4b5b29b165
@ -531,7 +531,6 @@ void EntityList::MobProcess()
|
|||||||
|
|
||||||
// Perform normal mob processing if any of these are true:
|
// Perform normal mob processing if any of these are true:
|
||||||
// -- zone is not empty
|
// -- zone is not empty
|
||||||
// -- a quest has turned it on for this zone while zone is idle
|
|
||||||
// -- the entity's spawn2 point is marked as path_while_zone_idle
|
// -- the entity's spawn2 point is marked as path_while_zone_idle
|
||||||
// -- the zone is newly empty and we're allowing mobs to settle
|
// -- the zone is newly empty and we're allowing mobs to settle
|
||||||
if (
|
if (
|
||||||
|
|||||||
@ -933,9 +933,9 @@ void QuestManager::repopzone() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void QuestManager::processmobswhilezoneempty(bool idle_when_empty) {
|
void QuestManager::processmobswhilezoneempty(bool turn_on) {
|
||||||
if (zone) {
|
if (zone) {
|
||||||
zone->SetIdleWhenEmpty(idle_when_empty);
|
zone->SetIdleWhenEmpty(!turn_on);
|
||||||
} else {
|
} else {
|
||||||
LogQuests(
|
LogQuests(
|
||||||
"QuestManager::processmobswhilezoneempty called with nullptr zone. Probably syntax error in quest file"
|
"QuestManager::processmobswhilezoneempty called with nullptr zone. Probably syntax error in quest file"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user