From 22cc7f3020eb5e7c1ddc083b7fa1013647d81c77 Mon Sep 17 00:00:00 2001 From: Alexei Kotov Date: Mon, 17 Jul 2023 19:17:46 +0300 Subject: [PATCH] Skip LIGH destruction data --- components/esm4/loadligh.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/components/esm4/loadligh.cpp b/components/esm4/loadligh.cpp index bb12666219..6fc86a8685 100644 --- a/components/esm4/loadligh.cpp +++ b/components/esm4/loadligh.cpp @@ -102,6 +102,12 @@ void ESM4::Light::load(ESM4::Reader& reader) case ESM4::SUB_MODT: case ESM4::SUB_OBND: case ESM4::SUB_VMAD: // Dragonborn only? + case ESM4::SUB_DEST: // Destruction data start + case ESM4::SUB_DSTD: + case ESM4::SUB_DMDL: + case ESM4::SUB_DMDT: + case ESM4::SUB_DMDS: + case ESM4::SUB_DSTF: // Destruction data end reader.skipSubRecordData(); break; default: