Merge branch 'esm4_init_on_read' into 'master'

Init potentially unread fields for HDPT record

See merge request OpenMW/openmw!4301
pull/3236/head
psi29a 5 months ago
commit 9f2d8b6405

@ -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