1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-19 19:53:53 +00:00

Maybe load FO4 weapon records

This commit is contained in:
Alexei Kotov 2023-08-16 08:08:23 +03:00
parent ad8d691352
commit dcb791083e
2 changed files with 15 additions and 4 deletions

View file

@ -92,7 +92,6 @@ void ESM4::Armor::load(ESM4::Reader& reader)
mAddOns.resize(currentIndex + 1); mAddOns.resize(currentIndex + 1);
reader.getFormId(mAddOns[currentIndex]); reader.getFormId(mAddOns[currentIndex]);
} }
} }
else else
{ {

View file

@ -141,9 +141,11 @@ void ESM4::Weapon::load(ESM4::Reader& reader)
case ESM4::SUB_MO2T: // FO3 case ESM4::SUB_MO2T: // FO3
case ESM4::SUB_MO2S: // FO3 case ESM4::SUB_MO2S: // FO3
case ESM4::SUB_NAM6: // FO3 case ESM4::SUB_NAM6: // FO3
case ESM4::SUB_MOD4: // FO3 case ESM4::SUB_MOD4: // First person model data
case ESM4::SUB_MO4T: // FO3 case ESM4::SUB_MO4T:
case ESM4::SUB_MO4S: // FO3 case ESM4::SUB_MO4S:
case ESM4::SUB_MO4C:
case ESM4::SUB_MO4F: // First person model data end
case ESM4::SUB_BIPL: // FO3 case ESM4::SUB_BIPL: // FO3
case ESM4::SUB_NAM7: // FO3 case ESM4::SUB_NAM7: // FO3
case ESM4::SUB_MOD3: // FO3 case ESM4::SUB_MOD3: // FO3
@ -182,7 +184,17 @@ void ESM4::Weapon::load(ESM4::Reader& reader)
case ESM4::SUB_WNM6: // FONV case ESM4::SUB_WNM6: // FONV
case ESM4::SUB_WNM7: // FONV case ESM4::SUB_WNM7: // FONV
case ESM4::SUB_EFSD: // FONV DeadMoney case ESM4::SUB_EFSD: // FONV DeadMoney
case ESM4::SUB_APPR: // FO4
case ESM4::SUB_DAMA: // FO4
case ESM4::SUB_FLTR: // FO4
case ESM4::SUB_FNAM: // FO4
case ESM4::SUB_INRD: // FO4
case ESM4::SUB_LNAM: // FO4
case ESM4::SUB_MASE: // FO4
case ESM4::SUB_PTRN: // FO4 case ESM4::SUB_PTRN: // FO4
case ESM4::SUB_STCP: // FO4
case ESM4::SUB_WAMD: // FO4
case ESM4::SUB_WZMD: // FO4
case ESM4::SUB_OBTE: // FO4 object template start case ESM4::SUB_OBTE: // FO4 object template start
case ESM4::SUB_OBTF: case ESM4::SUB_OBTF:
case ESM4::SUB_OBTS: case ESM4::SUB_OBTS: