mirror of
https://github.com/zeldaret/tp
synced 2026-09-03 10:09:35 -04:00
f_pc_draw_priority: Type fix
This commit is contained in:
@@ -340,7 +340,7 @@ static int fopAc_Create(void* actor) {
|
||||
|
||||
int ret = fpcMtd_Create((process_method_class*)ac->mSubMtd, ac);
|
||||
if (ret == 4) {
|
||||
s16 priority = fpcLf_GetPriority(ac);
|
||||
s32 priority = fpcLf_GetPriority(ac);
|
||||
fopDwTg_ToDrawQ(&ac->mDwTg, priority);
|
||||
} else if (ret == 5) {
|
||||
fopAcM_OnCondition(ac, 0x10);
|
||||
|
||||
@@ -70,10 +70,9 @@ static int fopCam_Create(void* i_actorP) {
|
||||
}
|
||||
|
||||
int ret = fpcMtd_Create(&camera->mpMtd->mBase, camera);
|
||||
|
||||
if (ret == 4) {
|
||||
s16 prior = fpcLf_GetPriority(camera);
|
||||
fopDwTg_ToDrawQ(&camera->mCreateTag, prior);
|
||||
if (ret == cPhs_COMPLEATE_e) {
|
||||
s32 priority = fpcLf_GetPriority(camera);
|
||||
fopDwTg_ToDrawQ(&camera->mCreateTag, priority);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user