diff --git a/common/ruletypes.h b/common/ruletypes.h index 7800c7ff7..08a988bf0 100644 --- a/common/ruletypes.h +++ b/common/ruletypes.h @@ -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) diff --git a/zone/client_process.cpp b/zone/client_process.cpp index 3a4651077..d39bdaea3 100644 --- a/zone/client_process.cpp +++ b/zone/client_process.cpp @@ -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); }