mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-28 20:36:42 +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;
|
// Forcibly update this local actor if its data has never been sent before;
|
||||||
// otherwise, use the current forceUpdate value
|
// 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);
|
actor->update(actor->hasSentData ? forceUpdate : true);
|
||||||
|
|
||||||
++it;
|
++it;
|
||||||
|
|
Loading…
Reference in a new issue