From 4f134d17f970ee9de3184f2896b738713543f1e0 Mon Sep 17 00:00:00 2001 From: Christopher Flanagan Date: Mon, 30 Nov 2026 21:54:53 -0500 Subject: [PATCH] [Bugfix] Include read hint text in Hint Tracker search --- .../Enhancements/randomizer/randomizer_hint_tracker.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/soh/soh/Enhancements/randomizer/randomizer_hint_tracker.cpp b/soh/soh/Enhancements/randomizer/randomizer_hint_tracker.cpp index 8143b2eac18..36a9d31fc6d 100644 --- a/soh/soh/Enhancements/randomizer/randomizer_hint_tracker.cpp +++ b/soh/soh/Enhancements/randomizer/randomizer_hint_tracker.cpp @@ -522,7 +522,13 @@ static void DrawHintList() { // "Hide found" only removes fully-collected hints from the journal view // (found is never set in the locations view). bool hideFound = found && CVarGetInteger(CVAR_TRACKER_HINT("HideFound"), 0); - if (!hideFound && (hintSearch.PassFilter(hintName.c_str()) || hintSearch.PassFilter(effectiveName.c_str()))) { + std::string search = hintName + " " + effectiveName; + if (read && !compact) { + std::string hintText = GetJoinedHintText(hintKey); + std::replace(hintText.begin(), hintText.end(), '\n', ' '); + search += " " + hintText; + } + if (!hideFound && hintSearch.PassFilter(search.c_str())) { group.entries.push_back({ hintKey, hintName, compact, sortRank, nameColor, found }); } };