From 9d9581a1c2f4a90e4d643f186908384a9ab2c023 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Sat, 27 May 2017 02:52:26 +0300 Subject: [PATCH] [Client] Prevent DedicatedActors from automatically equipping torches --- apps/openmw/mwmechanics/actors.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/openmw/mwmechanics/actors.cpp b/apps/openmw/mwmechanics/actors.cpp index 2ce77ebd2..243946d86 100644 --- a/apps/openmw/mwmechanics/actors.cpp +++ b/apps/openmw/mwmechanics/actors.cpp @@ -903,11 +903,11 @@ namespace MWMechanics /* Start of tes3mp change (major) - We need DedicatedPlayers to not automatically unequip - their light-emitting items, so a 2nd condition has been added - for them + We need DedicatedPlayers and DedicatedActors to not automatically + equip their light-emitting items, so additions conditions have been + added for them */ - if (!isPlayer && !mwmp::PlayerList::isDedicatedPlayer(ptr)) + if (!isPlayer && !mwmp::PlayerList::isDedicatedPlayer(ptr) && !mwmp::Main::get().getCellController()->isDedicatedActor(ptr)) { /* End of tes3mp change (major)