Fix Adult Fishing as Child Softlock (#5377)

* pass a pointer not a pointer to a pointer

* update GIVanillaBehavior comment

* also drop this
This commit is contained in:
Eric Hoey
2025-04-10 17:14:25 -04:00
committed by GitHub
parent 9783f918d2
commit a93917bb4a
2 changed files with 2 additions and 2 deletions
@@ -951,7 +951,7 @@ typedef enum {
// false
// ```
// #### `args`
// - '*Fishing' (&this)
// - '*Fishing'
VB_GIVE_RANDO_GLITCH_FISHING_PRIZE,
// #### `result`
@@ -5170,7 +5170,7 @@ void Fishing_HandleOwnerDialog(Fishing* this, PlayState* play) {
if (Actor_HasParent(&this->actor, play)) {
this->stateAndTimer = 24;
} else {
if (!GameInteractor_Should(VB_GIVE_RANDO_GLITCH_FISHING_PRIZE, false, &this)) {
if (!GameInteractor_Should(VB_GIVE_RANDO_GLITCH_FISHING_PRIZE, false, this)) {
Actor_OfferGetItem(&this->actor, play, GI_SCALE_GOLDEN, 2000.0f, 1000.0f);
}
}