Adjust ghosting algorithm to work much better for super large zones as well

This commit is contained in:
Akkadius committed 2019-08-07 18:54:53 -05:00
1 parent a6af014d5e
commit d9eeb00dea
4 files changed
+77 -8

No files matched your search

+1 -1
View File
@@ -762,7 +762,7 @@ void MobMovementManager::SendCommandToClients(
}
else {
float short_range = RuleR(Pathing, ShortMovementUpdateRange);
float long_range = zone->GetMaxMovementUpdateRange();
float long_range = zone->GetNpcPositionUpdateDistance();
for (auto &c : _impl->Clients) {
if (single_client && c != single_client) {