mirror of https://github.com/AxioDL/metaforce.git
Fix missed underscores in cook path
This commit is contained in:
parent
137e96c732
commit
20f40ef07f
|
@ -400,7 +400,7 @@ bool MLVL::CookMAPW(const hecl::ProjectPath& outPath, const World& wld) {
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* Area map */
|
/* Area map */
|
||||||
hecl::ProjectPath mapPath = GetPathBeginsWith(area.path, _SYS_STR("!map_"));
|
hecl::ProjectPath mapPath = GetPathBeginsWith(area.path, _SYS_STR("!map"));
|
||||||
if (mapPath.isFile())
|
if (mapPath.isFile())
|
||||||
mapaTags.push_back(g_curSpec->buildTagFromPath(mapPath));
|
mapaTags.push_back(g_curSpec->buildTagFromPath(mapPath));
|
||||||
}
|
}
|
||||||
|
@ -432,7 +432,7 @@ bool MLVL::CookSAVW(const hecl::ProjectPath& outPath, const World& wld) {
|
||||||
if (area.path.getPathType() != hecl::ProjectPath::Type::Directory)
|
if (area.path.getPathType() != hecl::ProjectPath::Type::Directory)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
hecl::ProjectPath areaPath = GetPathBeginsWith(area.path, _SYS_STR("!area_"));
|
hecl::ProjectPath areaPath = GetPathBeginsWith(area.path, _SYS_STR("!area"));
|
||||||
if (!areaPath.isFile())
|
if (!areaPath.isFile())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue