Fix how DynOS loads custom actors

This commit is contained in:
MysterD 2022-04-11 18:15:54 -07:00
parent 499681ff8d
commit 456da82f2f

View file

@ -47,7 +47,7 @@ void DynOS_Actor_AddCustom(const SysPath &aPackFolder, const char *aActorName) {
pActorGfxList.Resize(DynOS_Actor_GetCount()); pActorGfxList.Resize(DynOS_Actor_GetCount());
pActorGfxList[index].mPackIndex = 99; pActorGfxList[index].mPackIndex = 99;
pActorGfxList[index].mGfxData = _GfxData; pActorGfxList[index].mGfxData = _GfxData;
pActorGfxList[index].mGraphNode = (GraphNode *) DynOS_Geo_GetGraphNode(geoLayout, true); pActorGfxList[index].mGraphNode = (GraphNode *) DynOS_Geo_GetGraphNode(geoLayout, false);
} }
s32 DynOS_Actor_GetCount() { s32 DynOS_Actor_GetCount() {