mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 17:19:56 +00:00
15 lines
359 B
C++
15 lines
359 B
C++
#include "convertnpcc.hpp"
|
|
|
|
#include "convertinventory.hpp"
|
|
|
|
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);
|
|
}
|
|
}
|