diff options
| author | Reppan <72985260+Jepvid@users.noreply.github.com> | 2026-06-15 16:23:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-15 14:23:48 +0000 |
| commit | 0e5083931f6fee74ecea95a8477d64397be92648 (patch) | |
| tree | 85ebd28e529de4ed846008977cc4f88bbbba1a8b /soh/src/code | |
| parent | 6bf5ec5145817925afd46b4fa60791e1f7e25921 (diff) | |
[Modding] Refactor CustomEquipment (#6708)
Diffstat (limited to 'soh/src/code')
| -rw-r--r-- | soh/src/code/z_player_lib.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/soh/src/code/z_player_lib.c b/soh/src/code/z_player_lib.c index f2e2b7321..63684cc5f 100644 --- a/soh/src/code/z_player_lib.c +++ b/soh/src/code/z_player_lib.c @@ -1437,6 +1437,8 @@ s32 Player_OverrideLimbDrawGameplayDefault(PlayState* play, s32 limbIndex, Gfx** } } + GameInteractor_Should(VB_PLAYER_OVERRIDE_LIMB_DRAW, true, limbIndex, dList, thisx, play); + if (GameInteractor_InvisibleLinkActive()) { this->actor.shape.shadowDraw = NULL; *dList = NULL; @@ -1482,6 +1484,9 @@ s32 Player_OverrideLimbDrawGameplayFirstPerson(PlayState* play, s32 limbIndex, G *dList = NULL; } } + + GameInteractor_Should(VB_PLAYER_OVERRIDE_LIMB_DRAW, true, limbIndex, dList, thisx, play); + return false; } @@ -2061,6 +2066,8 @@ s32 Player_OverrideLimbDrawPause(PlayState* play, s32 limbIndex, Gfx** dList, Ve dLists = &sPlayerDListGroups[type][gSaveContext.linkAge]; *dList = dLists[dListOffset]; + GameInteractor_Should(VB_PLAYER_OVERRIDE_LIMB_DRAW_PAUSE, true, limbIndex, dList, GET_PLAYER(play), play); + return 0; } |
