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

This commit is contained in:
Akkadius
2019-08-07 18:54:53 -05:00
parent a6af014d5e
commit d9eeb00dea
4 changed files with 77 additions and 8 deletions
+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) {