mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-30 07:45:39 +00:00
Merge branch 'esm4_init_on_read' into 'master'
Init potentially unread fields for HDPT record See merge request OpenMW/openmw!4301
This commit is contained in:
commit
9f2d8b6405
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue