Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
Pospelove committed Dec 19, 2024
1 parent d84c4e8 commit 6f7a1a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libespm/src/WRLD.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "libespm/WRLD.h"
#include "libespm/RecordHeaderAccess.h"
#include <algorithm>

namespace espm {

Expand All @@ -12,8 +13,7 @@ WRLD::Data WRLD::GetData(CompressedFieldsCache& cache) const noexcept
if (!std::memcmp(type, "FULL", 4)) {
result.localNameIndex = *reinterpret_cast<const lstring*>(data);
} else if (!std::memcmp(type, "WCTR", 4)) {
// std::copy_n(data, std::size(result.centerCellXY),
// result.centerCellXY);
std::copy_n(data, std::size(result.centerCellXY), result.centerCellXY);
} else if (!std::memcmp(type, "LTMP", 4)) {
result.interiorLightingId = *reinterpret_cast<const formId*>(data);
} else if (!std::memcmp(type, "XEZN", 4)) {
Expand Down

0 comments on commit 6f7a1a1

Please sign in to comment.