1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 17:29:55 +00:00

Load object templates in FO4 NPC and weapon records

This commit is contained in:
Alexei Kotov 2023-08-16 07:52:48 +03:00
parent a188a90023
commit ad8d691352
2 changed files with 8 additions and 0 deletions

View file

@ -279,6 +279,10 @@ void ESM4::Npc::load(ESM4::Reader& reader)
case ESM4::SUB_COED: // FO3 case ESM4::SUB_COED: // FO3
case ESM4::SUB_PRPS: // FO4 case ESM4::SUB_PRPS: // FO4
case ESM4::SUB_PTRN: // FO4 case ESM4::SUB_PTRN: // FO4
case ESM4::SUB_OBTE: // FO4 object template start
case ESM4::SUB_OBTF:
case ESM4::SUB_OBTS:
case ESM4::SUB_STOP: // FO4 object template end
reader.skipSubRecordData(); reader.skipSubRecordData();
break; break;
default: default:

View file

@ -183,6 +183,10 @@ void ESM4::Weapon::load(ESM4::Reader& reader)
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_PTRN: // FO4 case ESM4::SUB_PTRN: // FO4
case ESM4::SUB_OBTE: // FO4 object template start
case ESM4::SUB_OBTF:
case ESM4::SUB_OBTS:
case ESM4::SUB_STOP: // FO4 object template end
reader.skipSubRecordData(); reader.skipSubRecordData();
break; break;
default: default: