Merge branch 'armour_error_fix' into 'master'

Fixed data subrecord name for Armour record used in error

See merge request OpenMW/openmw!882
libera
Alexei Dobrohotov 4 years ago
commit fea5c0ac1a

@ -90,7 +90,7 @@ namespace ESM
if (!hasName) if (!hasName)
esm.fail("Missing NAME subrecord"); esm.fail("Missing NAME subrecord");
if (!hasData && !isDeleted) if (!hasData && !isDeleted)
esm.fail("Missing CTDT subrecord"); esm.fail("Missing AODT subrecord");
} }
void Armor::save(ESMWriter &esm, bool isDeleted) const void Armor::save(ESMWriter &esm, bool isDeleted) const

Loading…
Cancel
Save