summaryrefslogtreecommitdiff
path: root/soh/src/code
diff options
context:
space:
mode:
authorGarrett Cox <garrettjcox@gmail.com>2024-11-06 20:38:57 -0600
committerGitHub <noreply@github.com>2024-11-06 19:38:57 -0700
commitd07cbe839584b2111edf47fd2e759b1fd5cd6fb5 (patch)
tree59e74bbb24503e5853f3c92588c21185d0e29cb1 /soh/src/code
parenta919b6a5a0f938fac5cff4c55eb5412a60569ec4 (diff)
Adjustments to change age cheat and time travel enhancement (#4512)
Diffstat (limited to 'soh/src/code')
-rw-r--r--soh/src/code/z_parameter.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/soh/src/code/z_parameter.c b/soh/src/code/z_parameter.c
index b519c84a3..6227a8b4b 100644
--- a/soh/src/code/z_parameter.c
+++ b/soh/src/code/z_parameter.c
@@ -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;
}