mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 20:49:56 +00:00
Don't silently skip unknown NPC subrecords
This commit is contained in:
parent
742d008765
commit
ad90d20ad8
1 changed files with 0 additions and 3 deletions
|
@ -10,8 +10,6 @@ namespace ESM
|
||||||
|
|
||||||
void NPC::load(ESMReader &esm)
|
void NPC::load(ESMReader &esm)
|
||||||
{
|
{
|
||||||
//mNpdt52.mGold = -10;
|
|
||||||
|
|
||||||
mPersistent = esm.getRecordFlags() & 0x0400;
|
mPersistent = esm.getRecordFlags() & 0x0400;
|
||||||
|
|
||||||
mModel = esm.getHNOString("MODL");
|
mModel = esm.getHNOString("MODL");
|
||||||
|
@ -63,7 +61,6 @@ void NPC::load(ESMReader &esm)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
mAiPackage.load(esm);
|
mAiPackage.load(esm);
|
||||||
esm.skipRecord();
|
|
||||||
}
|
}
|
||||||
void NPC::save(ESMWriter &esm) const
|
void NPC::save(ESMWriter &esm) const
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue