mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-04 11:19:58 -04:00
Match f_op_scene, fix profile structs
This commit is contained in:
@@ -22,9 +22,9 @@ s32 fpcDw_Execute(base_process_class* pProc) {
|
||||
process_method_func func;
|
||||
curLay = fpcLy_CurrentLayer();
|
||||
if (fpcBs_Is_JustOfType(g_fpcLf_type, pProc->mSubType)) {
|
||||
func = ((nodedraw_method_class*)pProc->mpPcMtd)->mNodedrawFunc;
|
||||
func = ((leafdraw_method_class*)pProc->mpPcMtd)->mpDrawFunc;
|
||||
} else {
|
||||
func = ((nodedraw_method_class*)pProc->mpPcMtd)->mNodedrawFunc;
|
||||
func = ((nodedraw_method_class*)pProc->mpPcMtd)->mpDrawFunc;
|
||||
}
|
||||
fpcLy_SetCurrentLayer(pProc->mLyTg.mpLayer);
|
||||
ret = func(pProc);
|
||||
|
||||
Reference in New Issue
Block a user