mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 15:39:02 +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
@ -233,6 +233,8 @@ namespace MWClass
|
||||
|
||||
// store
|
||||
ptr.getRefData().setCustomData (data.release());
|
||||
|
||||
getInventoryStore(ptr).autoEquip(ptr);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user