forked from teamnwah/openmw-tes3coop
[Client] Ensure uninitialization of DedicatedActors for late packets
This commit is contained in:
parent
1ae5bd19e1
commit
bea3afaec8
1 changed files with 5 additions and 0 deletions
|
@ -102,6 +102,11 @@ void Cell::updateDedicated(float dt)
|
||||||
|
|
||||||
actor->update(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)
|
void Cell::readPositions(ActorList& actorList)
|
||||||
|
|
Loading…
Reference in a new issue