All MenuBar enhancement CVars done. (#4064)

This commit is contained in:
Malkierian 2024-04-25 17:31:28 -07:00 committed by GitHub
commit 56d8dd6d8b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
123 changed files with 1203 additions and 1200 deletions

View file

@ -459,7 +459,7 @@ bool HasItemBeenCollected(RandomizerCheck rc) {
case SpoilerCollectionCheckType::SPOILER_CHK_GRAVEDIGGER:
// Gravedigger has a fix in place that means one of two save locations. Check both.
return (gSaveContext.itemGetInf[1] & 0x1000) || // vanilla flag
((IS_RANDO || CVarGetInteger("gGravediggingTourFix", 0)) &&
((IS_RANDO || CVarGetInteger(CVAR_ENHANCEMENT("GravediggingTourFix"), 0)) &&
gSaveContext.sceneFlags[scene].collect & (1 << flag) || (gPlayState->actorCtx.flags.collect & (1 << flag))); // rando/fix flag
default:
return false;