process class inheritance vtable fix

This commit is contained in:
PJB3005
2026-03-01 14:34:07 +01:00
parent 0ce7d2e241
commit 5832f70384
10 changed files with 53 additions and 12 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ static void* s_hitfish_sub(void* a, void* b) {
if (fopAc_IsActor(a)) {
mg_fish_class* fish = (mg_fish_class*)a;
if (fopAcM_GetName(fish) == PROC_MG_FISH && fish->mCurAction == ACTION_MG_FISH_MF_HIT) {
return &fish->actor.base;
return &LEAFDRAW_BASE(&fish->actor);
}
}
return NULL;