mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-28 00:15:06 +00:00
16 lines
359 B
C++
16 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);
|
|
}
|
|
}
|