mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-26 16:15:19 -07:00
This should fix a bug with the Gerudo Archery minigame.
I wasn't able to get the bug to happen after making this change.
This commit is contained in:
parent
2bbd618599
commit
91cb6f2360
1 changed files with 2 additions and 2 deletions
|
@ -546,7 +546,7 @@ void EnGe1_WaitTillItemGiven_Archery(EnGe1* this, GlobalContext* globalCtx) {
|
|||
}
|
||||
}
|
||||
|
||||
if (!gSaveContext.n64ddFlag || getItemEntry.getItemId != GI_NONE) {
|
||||
if (!gSaveContext.n64ddFlag || getItemEntry.getItemId == GI_NONE) {
|
||||
func_8002F434(&this->actor, globalCtx, getItemId, 10000.0f, 50.0f);
|
||||
} else {
|
||||
GiveItemEntryFromActor(&this->actor, globalCtx, getItemEntry, 10000.0f, 50.0f);
|
||||
|
@ -587,7 +587,7 @@ void EnGe1_BeginGiveItem_Archery(EnGe1* this, GlobalContext* globalCtx) {
|
|||
}
|
||||
}
|
||||
|
||||
if (!gSaveContext.n64ddFlag || getItemEntry.getItemId != GI_NONE) {
|
||||
if (!gSaveContext.n64ddFlag || getItemEntry.getItemId == GI_NONE) {
|
||||
func_8002F434(&this->actor, globalCtx, getItemId, 10000.0f, 50.0f);
|
||||
} else {
|
||||
GiveItemEntryFromActor(&this->actor, globalCtx, getItemEntry, 10000.0f, 50.0f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue