Adjustments to change age cheat and time travel enhancement (#4512)

This commit is contained in:
Garrett Cox
2024-11-06 20:38:57 -06:00
committed by GitHub
parent a919b6a5a0
commit d07cbe8395
7 changed files with 46 additions and 66 deletions

View File

@@ -1607,10 +1607,8 @@ void Inventory_SwapAgeEquipment(void) {
s16 i;
u16 shieldEquipValue;
// Mod Enhancments can utilise the rando flow path
if (IS_RANDO || CVarGetInteger(CVAR_GENERAL("SwitchAge"), 0) || CVarGetInteger(CVAR_GENERAL("SwitchTimeline"), 0)) {
if (IS_RANDO) {
Rando_Inventory_SwapAgeEquipment();
CVarSetInteger(CVAR_GENERAL("SwitchTimeline"), 0);
return;
}