From 4476609872823c3119a521313db53ff1fd654ee4 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Sat, 5 Mar 2022 23:37:13 +0200 Subject: [PATCH] [Client] Don't unilaterally recharge world items on clients --- apps/openmw/engine.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/apps/openmw/engine.cpp b/apps/openmw/engine.cpp index ffae131ca..ea04e3b3c 100644 --- a/apps/openmw/engine.cpp +++ b/apps/openmw/engine.cpp @@ -384,7 +384,16 @@ bool OMW::Engine::frame(float frametime) { double hours = (frametime * mEnvironment.getWorld()->getTimeScaleFactor()) / 3600.0; mEnvironment.getWorld()->advanceTime(hours, true); - mEnvironment.getWorld()->rechargeItems(frametime, true); + + /* + Start of tes3mp change (major) + + Don't unilaterally recharge world items on clients + */ + //mEnvironment.getWorld()->rechargeItems(frametime, true); + /* + End of tes3mp change (major) + */ } } }