1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-10 03:39:55 +00:00

Don't silently skip unknown NPC subrecords

This commit is contained in:
scrawl 2014-07-03 21:00:12 +02:00
parent 742d008765
commit ad90d20ad8

View File

@ -10,8 +10,6 @@ namespace ESM
void NPC::load(ESMReader &esm)
{
//mNpdt52.mGold = -10;
mPersistent = esm.getRecordFlags() & 0x0400;
mModel = esm.getHNOString("MODL");
@ -63,7 +61,6 @@ void NPC::load(ESMReader &esm)
}
}
mAiPackage.load(esm);
esm.skipRecord();
}
void NPC::save(ESMWriter &esm) const
{