mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-07-07 22:22:36 -04:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user