From c4eb4328340389bbdfc33e821bf5db317601ae68 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Sun, 6 Jun 2021 22:22:44 -0700 Subject: [PATCH] Fix borked layer names --- DataSpec/DNAMP1/MLVL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DataSpec/DNAMP1/MLVL.cpp b/DataSpec/DNAMP1/MLVL.cpp index d14d5a1b3..8b15df87e 100644 --- a/DataSpec/DNAMP1/MLVL.cpp +++ b/DataSpec/DNAMP1/MLVL.cpp @@ -450,7 +450,7 @@ bool MLVL::CookSAVW(const hecl::ProjectPath& outPath, const World& wld) { hecl::DirectoryEnumerator(area.path.getAbsolutePath(), hecl::DirectoryEnumerator::Mode::DirsSorted)) { hecl::SystemString layerName; hecl::SystemChar* endCh = nullptr; - hecl::StrToUl(e.m_name.c_str(), &endCh, 0); + hecl::StrToUl(e.m_name.c_str(), &endCh, 10); if (!endCh) layerName = hecl::StringUtils::TrimWhitespace(e.m_name); else