From 1bd2667c66b260a035b4f2781a32bbe8e83d911b Mon Sep 17 00:00:00 2001 From: Alexei Kotov Date: Thu, 17 Aug 2023 23:28:35 +0300 Subject: [PATCH] Rename REFR::XTEL transition interior field --- components/esm4/loadrefr.cpp | 3 +-- components/esm4/loadrefr.hpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/components/esm4/loadrefr.cpp b/components/esm4/loadrefr.cpp index 5f37800b3c..a193907ac4 100644 --- a/components/esm4/loadrefr.cpp +++ b/components/esm4/loadrefr.cpp @@ -114,9 +114,8 @@ void ESM4::Reference::load(ESM4::Reader& reader) if (subHdr.dataSize >= 32) { reader.get(mDoor.flags); - // FO4 if (subHdr.dataSize == 36) - reader.getFormId(mDoor.transitionInt); + reader.getFormId(mDoor.transitionInterior); } break; } diff --git a/components/esm4/loadrefr.hpp b/components/esm4/loadrefr.hpp index 4c9f4e0c77..af04a791c8 100644 --- a/components/esm4/loadrefr.hpp +++ b/components/esm4/loadrefr.hpp @@ -61,7 +61,7 @@ namespace ESM4 ESM::FormId destDoor; ESM::Position destPos; std::uint32_t flags = 0; // 0x01 no alarm (only in TES5) - ESM::FormId transitionInt; + ESM::FormId transitionInterior; }; struct RadioStationData