mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-21 18:09:39 +00:00
Make NPCs auto-equip after their inventory is loaded, this fixes NPCs that start as dead not auto-equipping
This commit is contained in:
parent
0923306404
commit
43e0df479e
1 changed files with 2 additions and 0 deletions
|
@ -233,6 +233,8 @@ namespace MWClass
|
||||||
|
|
||||||
// store
|
// store
|
||||||
ptr.getRefData().setCustomData (data.release());
|
ptr.getRefData().setCustomData (data.release());
|
||||||
|
|
||||||
|
getInventoryStore(ptr).autoEquip(ptr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue