mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-19 16:05:23 +00:00
Reimplement CSkinRules/CSkinnedModel; skinning kinda works!
This commit is contained in:
@@ -22,7 +22,7 @@ CFactoryFnReturn CCharacterFactory::CDummyFactory::Build(const SObjectTag& tag,
|
||||
|
||||
const CCharacterInfo& charInfo = *params.GetOwnedObj<const CCharacterInfo*>();
|
||||
|
||||
switch (tag.type.toUint32() & 0x1) {
|
||||
switch (tag.type.toUint32()) {
|
||||
case 0:
|
||||
return TToken<CSkinnedModel>::GetIObjObjectFor(std::make_unique<CSkinnedModel>(
|
||||
*g_SimplePool, charInfo.GetModelId(), charInfo.GetSkinRulesId(), charInfo.GetCharLayoutInfoId()));
|
||||
|
||||
Reference in New Issue
Block a user