diff --git a/CHANGELOG.md b/CHANGELOG.md index 53b8284f1..4680f0e11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -179,6 +179,7 @@ Bug #5213: SameFaction script function is broken Bug #5218: Crash when disabling ToggleBorders Bug #5220: GetLOS crashes when actor isn't loaded + Bug #5222: Empty cell name subrecords are not saved Feature #1774: Handle AvoidNode Feature #2229: Improve pathfinding AI Feature #3025: Analogue gamepad movement controls diff --git a/components/esm/loadcell.cpp b/components/esm/loadcell.cpp index 657d92d6e..ec4155f59 100644 --- a/components/esm/loadcell.cpp +++ b/components/esm/loadcell.cpp @@ -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)