Add rule Zone:EnableEntityClipping

This commit is contained in:
Akkadius 2024-11-19 02:04:55 -06:00
parent 9780623fea
commit 92cc457067
2 changed files with 2 additions and 1 deletions

View File

@ -374,6 +374,7 @@ RULE_BOOL(Zone, AllowCrossZoneSpellsOnMercs, false, "Set to true to allow cross
RULE_BOOL(Zone, AllowCrossZoneSpellsOnPets, false, "Set to true to allow cross zone spells (cast/remove) to affect pets")
RULE_BOOL(Zone, ZoneShardQuestMenuOnly, false, "Set to true if you only want quests to show the zone shard menu")
RULE_BOOL(Zone, AkkadiusTempPerformanceFeatureFlag, true, "Enable or disable the Akkadius Temp Performance Feature Flag")
RULE_BOOL(Zone, EnableEntityClipping, true, "Enable or disable visual entity clipping server side")
RULE_CATEGORY_END()
RULE_CATEGORY(Map)

View File

@ -289,7 +289,7 @@ bool Client::Process() {
entity_list.ScanCloseMobs(this);
}
if (m_see_close_mobs_timer.Check() && RuleB(Zone, AkkadiusTempPerformanceFeatureFlag)) {
if (RuleB(Zone, EnableEntityClipping) && m_see_close_mobs_timer.Check() && RuleB(Zone, AkkadiusTempPerformanceFeatureFlag)) {
entity_list.UpdateVisibility(this);
}