1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-03 17:37:18 +00:00

Fixed data subrecord name for Armour record used in error

This commit is contained in:
Benjamin Winger 2021-05-17 18:36:59 -04:00
parent f1f1703441
commit 21f04f0d0f
No known key found for this signature in database
GPG Key ID: 22E22BE7466677FC

View File

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