From d84c4e8a74c1a169a2bd62cf38524b07bf1bc738 Mon Sep 17 00:00:00 2001 From: Leonid Pospelov Date: Wed, 18 Dec 2024 22:23:37 +0000 Subject: [PATCH] . --- libespm/src/WRLD.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libespm/src/WRLD.cpp b/libespm/src/WRLD.cpp index 91cde20149..99ecb0d81e 100644 --- a/libespm/src/WRLD.cpp +++ b/libespm/src/WRLD.cpp @@ -29,7 +29,7 @@ WRLD::Data WRLD::GetData(CompressedFieldsCache& cache) const noexcept } else if (!std::memcmp(type, "NAM4", 4)) { result.waterLODHeight = *reinterpret_cast(data); } else if (!std::memcmp(type, "DNAM", 4)) { - // std::copy_n(data, std::size(result.LandData), result.LandData); + std::copy_n(data, std::size(result.LandData), result.LandData); } else if (!std::memcmp(type, "MODL", 4)) { result.cloudModelFileName = reinterpret_cast(data); } else if (!std::memcmp(type, "MNAM", 4)) { @@ -48,8 +48,8 @@ WRLD::Data WRLD::GetData(CompressedFieldsCache& cache) const noexcept } else if (!std::memcmp(type, "PNAM", 4)) { result.useFlags = *reinterpret_cast(data); } else if (!std::memcmp(type, "ONAM", 4)) { - // std::copy_n(data, std::size(result.mapMarkerData), - // result.mapMarkerData); + std::copy_n(data, std::size(result.mapMarkerData), + result.mapMarkerData); } else if (!std::memcmp(type, "TNAM", 4)) { result.diffuseLODName = reinterpret_cast(data); } else if (!std::memcmp(type, "UNAM", 4)) {