Load FO4 activator records

macos_ci_fix
Alexei Kotov 1 year ago
parent a2ed295f1f
commit d15f301193

@ -663,6 +663,7 @@ namespace ESM4
SUB_ATKS = fourCC("ATKS"),
SUB_ATKT = fourCC("ATKT"),
SUB_ATKW = fourCC("ATKW"),
SUB_ATTX = fourCC("ATTX"),
SUB_BMMP = fourCC("BMMP"),
SUB_BSMB = fourCC("BSMB"),
SUB_BSMP = fourCC("BSMP"),
@ -685,9 +686,11 @@ namespace ESM4
SUB_MSM0 = fourCC("MSM0"),
SUB_MSM1 = fourCC("MSM1"),
SUB_NTOP = fourCC("NTOP"),
SUB_NTRM = fourCC("NTRM"),
SUB_PRPS = fourCC("PRPS"),
SUB_PTOP = fourCC("PTOP"),
SUB_PTRN = fourCC("PTRN"),
SUB_RADR = fourCC("RADR"),
SUB_RBPC = fourCC("RBPC"),
SUB_REPT = fourCC("REPT"),
SUB_SADD = fourCC("SADD"),

@ -87,8 +87,19 @@ void ESM4::Activator::load(ESM4::Reader& reader)
case ESM4::SUB_PNAM:
case ESM4::SUB_VMAD:
case ESM4::SUB_WNAM:
case ESM4::SUB_PRPS:
case ESM4::SUB_CTDA:
case ESM4::SUB_CIS1:
case ESM4::SUB_CIS2:
case ESM4::SUB_CITC:
case ESM4::SUB_NVNM:
// Introduced in FO4
case ESM4::SUB_ATTX:
case ESM4::SUB_FTYP:
case ESM4::SUB_NTRM:
case ESM4::SUB_PTRN:
case ESM4::SUB_PRPS:
case ESM4::SUB_RADR:
case ESM4::SUB_STCP:
reader.skipSubRecordData();
break;
default:

Loading…
Cancel
Save