summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Dubé <159546+serprex@users.noreply.github.com>2026-10-13 13:11:05 +0000
committerGitHub <noreply@github.com>2026-10-13 13:11:05 +0000
commit257cf79b066ababff52f787907fd60ecada7b88c (patch)
treeba144da1f2c9470b30f53b0db6e3f577bbf1074c
parenta6be06874f88fac8a0ba50346a7f41dea6221447 (diff)
fix invalid return in nayru's love uses (#7386)
-rw-r--r--soh/soh/Enhancements/randomizer/hook_handlers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/soh/soh/Enhancements/randomizer/hook_handlers.cpp b/soh/soh/Enhancements/randomizer/hook_handlers.cpp
index a1f60e205..730fe43ed 100644
--- a/soh/soh/Enhancements/randomizer/hook_handlers.cpp
+++ b/soh/soh/Enhancements/randomizer/hook_handlers.cpp
@@ -1891,7 +1891,7 @@ void RandomizerOnVanillaBehaviorHandler(GIVanillaBehavior id, bool* should, va_l
*should = false;
}
if (item == ITEM_NAYRUS_LOVE) {
- return RAND_GET_OPTION(RSK_NAYRUS_LOVE_USES).Get() > 0;
+ *should = RAND_GET_OPTION(RSK_NAYRUS_LOVE_USES).Get() > 0;
}
break;
}