diff --git a/components/esm4/loadhdpt.cpp b/components/esm4/loadhdpt.cpp index 9b7e27bdf9..27623e5203 100644 --- a/components/esm4/loadhdpt.cpp +++ b/components/esm4/loadhdpt.cpp @@ -37,6 +37,9 @@ void ESM4::HeadPart::load(ESM4::Reader& reader) { mId = reader.getFormIdFromHeader(); mFlags = reader.hdr().record.flags; + mExtraFlags2 = 0; + mData = 0; + mType = 0; std::optional type;