Make sure empty cell name subrecords are saved (bug #5222)

This commit is contained in:
Capostrophic 2019-12-03 18:46:42 +03:00
parent eec82f676a
commit 4b38bab0d9
2 changed files with 2 additions and 1 deletions

View file

@ -160,7 +160,7 @@ namespace ESM
void Cell::save(ESMWriter &esm, bool isDeleted) const
{
esm.writeHNOCString("NAME", mName);
esm.writeHNCString("NAME", mName);
esm.writeHNT("DATA", mData, 12);
if (isDeleted)