mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-26 19:32:17 -05:00
Backports a fix for sheik checks from rando-next (#1340)
* Fixes some Sheik checks I had accidentally set the wrong flag for. * Removes duplicate switch case from cherry-pick
This commit is contained in:
parent
a572c11f4f
commit
776219fb52
@ -298,7 +298,7 @@ void GivePlayerRandoRewardSheikSong(EnXc* sheik, GlobalContext* globalCtx, Rando
|
|||||||
}
|
}
|
||||||
} else if (check != RC_SHEIK_AT_TEMPLE) {
|
} else if (check != RC_SHEIK_AT_TEMPLE) {
|
||||||
if (GiveItemEntryFromActor(&sheik->actor, globalCtx, getItemEntry, 10000.0f, 100.0f)) {
|
if (GiveItemEntryFromActor(&sheik->actor, globalCtx, getItemEntry, 10000.0f, 100.0f)) {
|
||||||
player->pendingFlag.flagID = 0x55;
|
player->pendingFlag.flagID = (0x5 << 4) | (sheikType & 0xF) >> 1;
|
||||||
player->pendingFlag.flagType = FLAG_EVENT_CHECK_INF;
|
player->pendingFlag.flagType = FLAG_EVENT_CHECK_INF;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user