ESSImport: convert NPC disposition

openmw-35
scrawl 10 years ago
parent 1375a4e4bb
commit 0fc9221eb3

@ -7,6 +7,7 @@ namespace ESSImport
void convertNPCC(const NPCC &npcc, ESM::NpcState &npcState)
{
npcState.mNpcStats.mDisposition = npcc.mNPDT.mDisposition;
npcState.mNpcStats.mReputation = npcc.mNPDT.mReputation;
convertInventory(npcc.mInventory, npcState.mInventory);

@ -19,7 +19,8 @@ namespace ESSImport
{
struct NPDT
{
unsigned char unknown[2];
unsigned char mDisposition;
unsigned char unknown;
unsigned char mReputation;
unsigned char unknown2[5];
} mNPDT;

Loading…
Cancel
Save