From a2e185d0f9ffdecb834f9a8dca806e4f1414094f Mon Sep 17 00:00:00 2001 From: Alexei Kotov Date: Wed, 16 Aug 2023 22:49:06 +0300 Subject: [PATCH] Maybe load FO4 worldspace records --- components/esm4/loadwrld.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/components/esm4/loadwrld.cpp b/components/esm4/loadwrld.cpp index 2a77833a44..c0a3044437 100644 --- a/components/esm4/loadwrld.cpp +++ b/components/esm4/loadwrld.cpp @@ -62,9 +62,9 @@ void ESM4::World::load(ESM4::Reader& reader) case ESM4::SUB_FULL: reader.getLocalizedString(mFullName); break; - case ESM4::SUB_WCTR: + case ESM4::SUB_WCTR: // TES5+ reader.get(mCenterCell); - break; // Center cell, TES5 only + break; case ESM4::SUB_WNAM: reader.getFormId(mParent); break; @@ -73,7 +73,7 @@ void ESM4::World::load(ESM4::Reader& reader) break; // sound, Oblivion only? case ESM4::SUB_ICON: reader.getZString(mMapFile); - break; // map filename, Oblivion only? + break; case ESM4::SUB_CNAM: reader.getFormId(mClimate); break; @@ -164,6 +164,8 @@ void ESM4::World::load(ESM4::Reader& reader) case ESM4::SUB_XNAM: // FO3 case ESM4::SUB_IMPS: // FO3 Anchorage case ESM4::SUB_IMPF: // FO3 Anchorage + case ESM4::SUB_CLSZ: // FO4 + case ESM4::SUB_WLEV: // FO4 reader.skipSubRecordData(); break; default: