mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-29 08:00:56 -04:00
[Client] Don't update already initialized but deleted LocalActors
This commit is contained in:
parent
c253950dd7
commit
7dd03798e7
@ -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…
x
Reference in New Issue
Block a user