mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-05-30 17:15:58 -04:00
Merge pull request #1382 from leggettc18/leggettc18/issue1365
Fixes Ganon's Castle Crash and Trials coming from old save file
This commit is contained in:
@@ -1136,6 +1136,8 @@ void Randomizer::ParseRequiredTrialsFile(const char* spoilerFileName) {
|
||||
return;
|
||||
}
|
||||
|
||||
this->trialsRequired.clear();
|
||||
|
||||
try {
|
||||
json spoilerFileJson;
|
||||
spoilerFileStream >> spoilerFileJson;
|
||||
|
||||
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user