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:
parent
a188a90023
commit
ad8d691352
2 changed files with 8 additions and 0 deletions
|
@ -279,6 +279,10 @@ void ESM4::Npc::load(ESM4::Reader& reader)
|
|||
case ESM4::SUB_COED: // FO3
|
||||
case ESM4::SUB_PRPS: // 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();
|
||||
break;
|
||||
default:
|
||||
|
|
|
@ -183,6 +183,10 @@ void ESM4::Weapon::load(ESM4::Reader& reader)
|
|||
case ESM4::SUB_WNM7: // FONV
|
||||
case ESM4::SUB_EFSD: // FONV DeadMoney
|
||||
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();
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue