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:
parent
742d008765
commit
ad90d20ad8
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user