mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 16:51:29 +00:00
[Fix] GMMove Update Edge Case With Clients (#4686)
* [Fix] GMMove with clients * Exclude clients entirely for position update caching
This commit is contained in:
parent
02e2f6771c
commit
e88ea24966
@ -851,7 +851,7 @@ void MobMovementManager::SendCommandToClients(
|
||||
_impl->Stats.TotalSentPosition++;
|
||||
}
|
||||
|
||||
if (c->m_last_seen_mob_position.contains(mob->GetID())) {
|
||||
if (!mob->IsClient() && c->m_last_seen_mob_position.contains(mob->GetID())) {
|
||||
if (c->m_last_seen_mob_position[mob->GetID()] == mob->GetPosition() && anim == 0) {
|
||||
LogPositionUpdate(
|
||||
"Mob [{}] has already been sent to client [{}] at this position, skipping",
|
||||
@ -913,7 +913,7 @@ void MobMovementManager::SendCommandToClients(
|
||||
_impl->Stats.TotalSentPosition++;
|
||||
}
|
||||
|
||||
if (c->m_last_seen_mob_position.contains(mob->GetID())) {
|
||||
if (!mob->IsClient() && c->m_last_seen_mob_position.contains(mob->GetID())) {
|
||||
if (c->m_last_seen_mob_position[mob->GetID()] == mob->GetPosition() && anim == 0) {
|
||||
LogPositionUpdate(
|
||||
"Mob [{}] has already been sent to client [{}] at this position, skipping",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user