fix dark link softlock (#5027)

This commit is contained in:
briaguya
2025-02-09 08:49:56 -08:00
committed by GitHub
parent 0177690b54
commit 29cecd8502
3 changed files with 13 additions and 3 deletions

View File

@@ -12166,7 +12166,7 @@ void Player_UpdateCommon(Player* this, PlayState* play, Input* input) {
sUseHeldItem = sHeldItemButtonIsHeldDown = 0;
sSavedCurrentMask = this->currentMask;
if (GameInteractor_Should(VB_EXECUTE_PLAYER_ACTION_FUNC, !(this->stateFlags3 & PLAYER_STATE3_PAUSE_ACTION_FUNC), input)) {
if (GameInteractor_Should(VB_EXECUTE_PLAYER_ACTION_FUNC, !(this->stateFlags3 & PLAYER_STATE3_PAUSE_ACTION_FUNC), this, input)) {
this->actionFunc(this, play);
}