mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-14 13:34:52 -04:00
process class inheritance vtable fix
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user