From 7dd03798e7b05e9888ecae53c89e00d1fa4ca78b Mon Sep 17 00:00:00 2001 From: David Cernat Date: Fri, 6 Dec 2019 16:12:29 +0200 Subject: [PATCH] [Client] Don't update already initialized but deleted LocalActors --- apps/openmw/mwmp/Cell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwmp/Cell.cpp b/apps/openmw/mwmp/Cell.cpp index 9267b6732..b3fef19bc 100644 --- a/apps/openmw/mwmp/Cell.cpp +++ b/apps/openmw/mwmp/Cell.cpp @@ -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;