1
0
Fork 1
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:
David Cernat 2019-12-06 16:12:29 +02:00
parent c253950dd7
commit 7dd03798e7

View file

@ -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;