mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-21 12:53:51 +00:00
[Client] Don't update already initialized but deleted LocalActors
This commit is contained in:
parent
c253950dd7
commit
7dd03798e7
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ void Cell::updateLocal(bool forceUpdate)
|
|||
{
|
||||
// Forcibly update this local actor if its data has never been sent before;
|
||||
// otherwise, use the current forceUpdate value
|
||||
if (actor->getPtr().getRefData().isEnabled())
|
||||
if (actor->getPtr().getRefData().isEnabled() && !actor->getPtr().getRefData().isDeleted())
|
||||
actor->update(actor->hasSentData ? forceUpdate : true);
|
||||
|
||||
++it;
|
||||
|
|
Loading…
Reference in a new issue