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

pull/556/head
Capostrophic 5 years ago
parent eec82f676a
commit 4b38bab0d9

@ -179,6 +179,7 @@
Bug #5213: SameFaction script function is broken Bug #5213: SameFaction script function is broken
Bug #5218: Crash when disabling ToggleBorders Bug #5218: Crash when disabling ToggleBorders
Bug #5220: GetLOS crashes when actor isn't loaded Bug #5220: GetLOS crashes when actor isn't loaded
Bug #5222: Empty cell name subrecords are not saved
Feature #1774: Handle AvoidNode Feature #1774: Handle AvoidNode
Feature #2229: Improve pathfinding AI Feature #2229: Improve pathfinding AI
Feature #3025: Analogue gamepad movement controls Feature #3025: Analogue gamepad movement controls

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

Loading…
Cancel
Save