mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-01 03:21:41 +00:00
15 lines
292 B
C++
15 lines
292 B
C++
#include "convertnpcc.hpp"
|
|
|
|
#include "convertinventory.hpp"
|
|
|
|
namespace ESSImport
|
|
{
|
|
|
|
void convertNPCC(const NPCC &npcc, ESM::NpcState &npcState)
|
|
{
|
|
npcState.mNpcStats.mReputation = npcc.mNPDT.mReputation;
|
|
|
|
convertInventory(npcc.mInventory, npcState.mInventory);
|
|
}
|
|
}
|