mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-11 00:39:59 +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
|
// store
|
||||||
ptr.getRefData().setCustomData (data.release());
|
ptr.getRefData().setCustomData (data.release());
|
||||||
|
|
||||||
|
getInventoryStore(ptr).autoEquip(ptr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user