1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-28 09:09:39 +00:00

[Client] Ensure uninitialization of DedicatedActors for late packets

This commit is contained in:
David Cernat 2017-06-10 15:49:00 +03:00
parent 1ae5bd19e1
commit bea3afaec8

View file

@ -102,6 +102,11 @@ void Cell::updateDedicated(float dt)
actor->update(dt);
}
// Are we the authority over this cell? If so, uninitialize DedicatedActors
// after the above update
if (hasLocalAuthority())
uninitializeDedicatedActors();
}
void Cell::readPositions(ActorList& actorList)