mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:53:50 +00:00
exclude player from auto equip
This commit is contained in:
parent
dcab6737e5
commit
ab2a1297b0
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ namespace MWMechanics
|
|||
|
||||
void Actors::updateNpc (const MWWorld::Ptr& ptr, float duration, bool paused)
|
||||
{
|
||||
if (!paused)
|
||||
if (!paused && ptr.getRefData().getHandle()!="player")
|
||||
MWWorld::Class::get (ptr).getInventoryStore (ptr).autoEquip (
|
||||
MWWorld::Class::get (ptr).getNpcStats (ptr), mEnvironment);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue