From 271c14030a36ee95ae98b706d52cb87d1cfd1a52 Mon Sep 17 00:00:00 2001 From: Alexei Kotov Date: Wed, 16 Aug 2023 04:06:50 +0300 Subject: [PATCH] Maybe load FO4 ingestible records --- components/esm4/loadalch.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/components/esm4/loadalch.cpp b/components/esm4/loadalch.cpp index 35f6964b24..297a503ea1 100644 --- a/components/esm4/loadalch.cpp +++ b/components/esm4/loadalch.cpp @@ -97,6 +97,21 @@ void ESM4::Potion::load(ESM4::Reader& reader) case ESM4::SUB_MODS: case ESM4::SUB_OBND: case ESM4::SUB_ETYP: // FO3 + case ESM4::SUB_DESC: + // Destructible + case ESM4::SUB_DAMC: + case ESM4::SUB_DEST: + case ESM4::SUB_DMDC: + case ESM4::SUB_DMDL: + case ESM4::SUB_DMDT: + case ESM4::SUB_DMDS: + case ESM4::SUB_DSTA: + case ESM4::SUB_DSTD: + case ESM4::SUB_DSTF: + // FO4 + case ESM4::SUB_DNAM: + case ESM4::SUB_PTRN: + case ESM4::SUB_CUSD: reader.skipSubRecordData(); break; default: