mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-26 01:58:51 -05: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
@ -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);
|
func_8002F434(&this->actor, globalCtx, getItemId, 10000.0f, 50.0f);
|
||||||
} else {
|
} else {
|
||||||
GiveItemEntryFromActor(&this->actor, globalCtx, getItemEntry, 10000.0f, 50.0f);
|
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);
|
func_8002F434(&this->actor, globalCtx, getItemId, 10000.0f, 50.0f);
|
||||||
} else {
|
} else {
|
||||||
GiveItemEntryFromActor(&this->actor, globalCtx, getItemEntry, 10000.0f, 50.0f);
|
GiveItemEntryFromActor(&this->actor, globalCtx, getItemEntry, 10000.0f, 50.0f);
|
||||||
|
Loading…
Reference in New Issue
Block a user