Fixes crash when entering Ganon's Castle lobby on linux.

This commit is contained in:
Christopher Leggett 2022-09-03 00:20:50 -04:00
parent fba8fc2b74
commit a07ea091f0
No known key found for this signature in database
GPG Key ID: 22E7784811D1BD98
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ s32 DemoKekkai_CheckEventFlag(s32 params) {
if ((params < KEKKAI_TOWER) || (params > KEKKAI_FOREST)) {
return true;
}
if (gSaveContext.n64ddFlag) {
if (gSaveContext.n64ddFlag && params > KEKKAI_TOWER) {
return Flags_GetRandomizerInf(trialParamToRandInf(params));
}
return Flags_GetEventChkInf(eventFlags[params]);