From c71eb1bd1ae00eac008133b23ef70e3e850da1a0 Mon Sep 17 00:00:00 2001 From: Aaron Kimbrell Date: Tue, 27 Oct 2026 10:29:43 -0500 Subject: [PATCH] fix: scene objects of LOT 1 are not loaded, as in the client ReadLvlObjectData (1.10.64, 0x0103ba20) loads every scene object except those of LOT 1 (the player). The world spawned them; now it skips them. No 1.10.64 scene has one; one older client scene file has two. Co-Authored-By: Claude Opus 5.5 --- dZoneManager/Level.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dZoneManager/Level.cpp b/dZoneManager/Level.cpp index 72fbdcdd7..a0d2fc20b 100644 --- a/dZoneManager/Level.cpp +++ b/dZoneManager/Level.cpp @@ -263,8 +263,9 @@ void Level::ReadSceneObjectDataChunk(std::istream& file, Header& header) { } - // We should never have more than 1 zone control object - bool skipLoadingObject = obj.lot == zoneControlObject->GetLOT(); + // We should never have more than 1 zone control object, and the client never loads a scene object of LOT 1 (the + // player; ReadLvlObjectData) + bool skipLoadingObject = obj.lot == zoneControlObject->GetLOT() || obj.lot == 1; for (const auto& data : obj.settings | std::views::values) { if (!data) continue; if (data->GetKey() == u"gatingOnFeature") {