mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 05:37:17 +00:00
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:
1 parent
62efae2e00
commit
80ce499f67
9 files changed
+80
-32
No files matched your search
+2
-2
@@ -2211,12 +2211,12 @@ bool Bot::Process()
|
||||
return false;
|
||||
}
|
||||
|
||||
if (mob_scan_close.Check()) {
|
||||
if (mob_close_scan_timer.Check()) {
|
||||
LogAIScanClose(
|
||||
"is_moving [{}] bot [{}] timer [{}]",
|
||||
moving ? "true" : "false",
|
||||
GetCleanName(),
|
||||
mob_scan_close.GetDuration()
|
||||
mob_close_scan_timer.GetDuration()
|
||||
);
|
||||
|
||||
entity_list.ScanCloseClientMobs(close_mobs, this);
|
||||
|
||||
Reference in new issue
Block a user