For consistency with TES CS, force DELE record writes to be 4 bytes (currently writes 1 byte).

This commit is contained in:
cc9cii 2021-07-06 14:57:58 +10:00
parent 7cc4e5afa1
commit a47ebf5c9e
41 changed files with 41 additions and 40 deletions

View file

@ -145,7 +145,7 @@ void ESM::CellRef::save (ESMWriter &esm, bool wideRefNum, bool inInventory, bool
esm.writeHNCString("NAME", mRefID);
if (isDeleted) {
esm.writeHNCString("DELE", "");
esm.writeHNString("DELE", "", 3);
return;
}