2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 01:07:43 +00:00

Windows fixes

This commit is contained in:
Jack Andersen
2017-10-29 21:29:32 -10:00
parent 3fcc50d82d
commit 6e73fddcf5
6 changed files with 10 additions and 7 deletions

View File

@@ -1162,7 +1162,7 @@ struct SpecMP1 : SpecBase
nameEnt.type = worldTag.type;
nameEnt.id = atUint32(worldTag.id.Value());
nameEnt.nameLen = atUint32(hecl::StrLen(parentDir.getLastComponent()));
nameEnt.name = parentDir.getLastComponent();
nameEnt.name = parentDir.getLastComponentUTF8();
nameEnt.write(w);
for (const auto& area : mlvl.areas)