[Client] Prevent DedicatedActors from automatically equipping torches

0.6.1
David Cernat 8 years ago
parent 940a2b6eb5
commit 9d9581a1c2

@ -903,11 +903,11 @@ namespace MWMechanics
/* /*
Start of tes3mp change (major) Start of tes3mp change (major)
We need DedicatedPlayers to not automatically unequip We need DedicatedPlayers and DedicatedActors to not automatically
their light-emitting items, so a 2nd condition has been added equip their light-emitting items, so additions conditions have been
for them 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) End of tes3mp change (major)

Loading…
Cancel
Save