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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -951,7 +951,7 @@ typedef enum {
// false
// ```
// #### `args`
// - '*Fishing' (&this)
// - '*Fishing'
VB_GIVE_RANDO_GLITCH_FISHING_PRIZE,
// #### `result`

View file

@ -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);
}
}