1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-04 08:09:43 +00:00
openmw/apps/essimporter/convertnpcc.cpp

15 lines
292 B
C++
Raw Normal View History

#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);
}
}