diff --git a/DataSpec/DNAMP1/MLVL.cpp b/DataSpec/DNAMP1/MLVL.cpp index 8b15df87e..f8ecce603 100644 --- a/DataSpec/DNAMP1/MLVL.cpp +++ b/DataSpec/DNAMP1/MLVL.cpp @@ -161,7 +161,7 @@ bool MLVL::Cook(const hecl::ProjectPath& outPath, const hecl::ProjectPath& inPat 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