Scanning Optimizations (#1133)

* Scanning optimizations this more properly applies idle / moving scanning algorithms and applies update_others when a client is moving

* Fix bots

* Perform a self and other scan when npc's pop
This commit is contained in:
Chris Miles
2020-10-25 23:01:30 -05:00
committed by GitHub
parent 62efae2e00
commit 80ce499f67
9 changed files with 80 additions and 32 deletions
+2 -2
View File
@@ -118,7 +118,7 @@ Mob::Mob(
attack_anim_timer(500),
position_update_melee_push_timer(500),
hate_list_cleanup_timer(6000),
mob_scan_close(6000),
mob_close_scan_timer(6000),
mob_check_moving_timer(1000)
{
mMovementManager = &MobMovementManager::Get();
@@ -463,7 +463,7 @@ Mob::Mob(
m_manual_follow = false;
#endif
mob_scan_close.Trigger();
mob_close_scan_timer.Trigger();
}
Mob::~Mob()