forked from mirror/openmw-tes3mp
[Client] Prevent DedicatedActors from automatically equipping torches
This commit is contained in:
parent
940a2b6eb5
commit
9d9581a1c2
1 changed files with 4 additions and 4 deletions
|
@ -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…
Reference in a new issue