mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-29 18:11:28 +00:00
Update client.cpp
This commit is contained in:
parent
34b3a3fc88
commit
d89bcf4f6c
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user