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

Merge branch 'armour_error_fix' into 'master'

Fixed data subrecord name for Armour record used in error

See merge request OpenMW/openmw!882
This commit is contained in:
Alexei Dobrohotov 2021-05-18 22:02:30 +00:00
commit fea5c0ac1a

View File

@ -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