mirror of https://github.com/AxioDL/metaforce.git
Use base ID where needed
This commit is contained in:
parent
8f4cc0876e
commit
234573938a
|
@ -569,11 +569,11 @@ struct ANCS : BigYAML
|
||||||
DNAANCS::CharacterResInfo<UniqueID32>& chOut = out.back();
|
DNAANCS::CharacterResInfo<UniqueID32>& chOut = out.back();
|
||||||
chOut.name = ci.name;
|
chOut.name = ci.name;
|
||||||
chOut.cmdl = ci.cmdl;
|
chOut.cmdl = ci.cmdl;
|
||||||
chOut.cskr = ci.cskr;
|
chOut.cskr = ci.cskr.getBaseId();
|
||||||
chOut.cinf = ci.cinf;
|
chOut.cinf = ci.cinf.getBaseId();
|
||||||
|
|
||||||
if (ci.cmdlOverlay)
|
if (ci.cmdlOverlay)
|
||||||
chOut.overlays.emplace_back(FOURCC('OVER'), std::make_pair(ci.cmdlOverlay, ci.cskrOverlay));
|
chOut.overlays.emplace_back(FOURCC('OVER'), std::make_pair(ci.cmdlOverlay, ci.cskrOverlay.getBaseId()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -201,11 +201,11 @@ struct ANCS : BigYAML
|
||||||
DNAANCS::CharacterResInfo<UniqueID32>& chOut = out.back();
|
DNAANCS::CharacterResInfo<UniqueID32>& chOut = out.back();
|
||||||
chOut.name = ci.name;
|
chOut.name = ci.name;
|
||||||
chOut.cmdl = ci.cmdl;
|
chOut.cmdl = ci.cmdl;
|
||||||
chOut.cskr = ci.cskr;
|
chOut.cskr = ci.cskr.getBaseId();
|
||||||
chOut.cinf = ci.cinf;
|
chOut.cinf = ci.cinf.getBaseId();
|
||||||
|
|
||||||
if (ci.cmdlOverlay)
|
if (ci.cmdlOverlay)
|
||||||
chOut.overlays.emplace_back(FOURCC('OVER'), std::make_pair(ci.cmdlOverlay, ci.cskrOverlay));
|
chOut.overlays.emplace_back(FOURCC('OVER'), std::make_pair(ci.cmdlOverlay, ci.cskrOverlay.getBaseId()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue