From c6882dbc6be46bc94371e7be44831b22b0e6b364 Mon Sep 17 00:00:00 2001 From: Alexei Dobrohotov Date: Thu, 13 Jul 2023 10:22:16 +0300 Subject: [PATCH] Skip REFR::XPTL Needed by Yukichigai Unofficial Patch --- components/esm4/common.hpp | 1 + components/esm4/loadrefr.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/components/esm4/common.hpp b/components/esm4/common.hpp index 61f18e650d..fb3dd71045 100644 --- a/components/esm4/common.hpp +++ b/components/esm4/common.hpp @@ -294,6 +294,7 @@ namespace ESM4 SUB_XPRM = fourCC("XPRM"), SUB_XMBO = fourCC("XMBO"), SUB_XPOD = fourCC("XPOD"), + SUB_XPTL = fourCC("XPTL"), SUB_XRMR = fourCC("XRMR"), SUB_INAM = fourCC("INAM"), SUB_SCHR = fourCC("SCHR"), diff --git a/components/esm4/loadrefr.cpp b/components/esm4/loadrefr.cpp index 0de47bf37f..d4fb4a1157 100644 --- a/components/esm4/loadrefr.cpp +++ b/components/esm4/loadrefr.cpp @@ -290,6 +290,7 @@ void ESM4::Reference::load(ESM4::Reader& reader) case ESM4::SUB_XNDP: case ESM4::SUB_XOCP: case ESM4::SUB_XPOD: + case ESM4::SUB_XPTL: case ESM4::SUB_XPPA: case ESM4::SUB_XPRD: case ESM4::SUB_XPWR: