mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-29 12:52:18 -05:00
fix: get gravedigging tour in check tracker working in rando (#2159)
This commit is contained in:
parent
cabcfb009c
commit
a99892c09b
@ -732,8 +732,9 @@ bool HasItemBeenCollected(RandomizerCheckObject obj) {
|
|||||||
return gSaveContext.highScores[HS_POE_POINTS] >= 1000;
|
return gSaveContext.highScores[HS_POE_POINTS] >= 1000;
|
||||||
case SpoilerCollectionCheckType::SPOILER_CHK_GRAVEDIGGER:
|
case SpoilerCollectionCheckType::SPOILER_CHK_GRAVEDIGGER:
|
||||||
// Gravedigger has a fix in place that means one of two save locations. Check both.
|
// Gravedigger has a fix in place that means one of two save locations. Check both.
|
||||||
return (gSaveContext.itemGetInf[1] & 0x1000) ||
|
return (gSaveContext.itemGetInf[1] & 0x1000) || // vanilla flag
|
||||||
CVar_GetS32("gGravediggingTourFix", 0) && gSaveContext.sceneFlags[scene].collect & (1 << flag);
|
((gSaveContext.n64ddFlag || CVar_GetS32("gGravediggingTourFix", 0)) &&
|
||||||
|
gSaveContext.sceneFlags[scene].collect & (1 << flag)); // rando/fix flag
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user