Init potentially unread fields for HDPT

pull/3236/head
elsid 5 months ago
parent 91d37c16af
commit d85130c4c0
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

@ -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<std::uint32_t> type;

Loading…
Cancel
Save