Core/OutdoorPvP: Move Halaa spawns to db using worldstate conditions
This commit is contained in:
1 parent
cbd46b7664
commit
9f7227e7b5
7 files changed
+335
-355
No files matched your search
@@ -2208,7 +2208,7 @@ void Map::UpdateSpawnGroupConditions()
|
||||
if (shouldBeActive)
|
||||
SpawnGroupSpawn(spawnGroupId);
|
||||
else if (ASSERT_NOTNULL(GetSpawnGroupData(spawnGroupId))->flags & SPAWNGROUP_FLAG_DESPAWN_ON_CONDITION_FAILURE)
|
||||
SpawnGroupDespawn(spawnGroupId);
|
||||
SpawnGroupDespawn(spawnGroupId, true);
|
||||
else
|
||||
SetSpawnGroupInactive(spawnGroupId);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user