From d89bcf4f6cbbe0662e01a2e60b8f5c9456132252 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Tue, 19 Nov 2024 01:30:24 -0600 Subject: [PATCH] Update client.cpp --- zone/client.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zone/client.cpp b/zone/client.cpp index 4fab9a40e..7fed845ed 100644 --- a/zone/client.cpp +++ b/zone/client.cpp @@ -12942,7 +12942,7 @@ void Client::SendTopLevelInventory() void Client::CheckSendBulkClientPositionUpdate() { float distance_moved = DistanceNoZ(m_last_position_before_bulk_update, GetPosition()); - bool moved_far_enough_before_bulk_update = distance_moved >= zone->GetMaxUpdateRange(); + bool moved_far_enough_before_bulk_update = distance_moved >= zone->GetMaxNpcUpdateRange(); bool is_ready_to_update = ( m_client_zone_wide_full_position_update_timer.Check() || moved_far_enough_before_bulk_update ); @@ -12998,6 +12998,7 @@ void Client::CheckSendBulkClientPositionUpdate() } } + const uint16 scan_npc_aggro_timer_idle = RuleI(Aggro, ClientAggroCheckIdleInterval); const uint16 scan_npc_aggro_timer_moving = RuleI(Aggro, ClientAggroCheckMovingInterval);