1
0
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:
scrawl 2013-07-31 16:30:22 +02:00
parent 0923306404
commit 43e0df479e

View File

@ -233,6 +233,8 @@ namespace MWClass
// store // store
ptr.getRefData().setCustomData (data.release()); ptr.getRefData().setCustomData (data.release());
getInventoryStore(ptr).autoEquip(ptr);
} }
} }