diff options
| author | Pepper0ni <93387759+Pepper0ni@users.noreply.github.com> | 2023-07-02 19:50:51 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-02 14:50:51 -0400 |
| commit | 531b346fc9f78881f968321010ea4de3ee362fe3 (patch) | |
| tree | a341b6d425381187ca1ad46870a8eee7476d8239 | |
| parent | def7a15354f54c48e965def0b73c39304040cc52 (diff) | |
Add exact item and check to the spoiler log for WotH hints (#3043)
| -rw-r--r-- | soh/soh/Enhancements/randomizer/3drando/spoiler_log.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/soh/soh/Enhancements/randomizer/3drando/spoiler_log.cpp b/soh/soh/Enhancements/randomizer/3drando/spoiler_log.cpp index 098652f10..cb87bc115 100644 --- a/soh/soh/Enhancements/randomizer/3drando/spoiler_log.cpp +++ b/soh/soh/Enhancements/randomizer/3drando/spoiler_log.cpp @@ -766,9 +766,9 @@ static void WriteHints(int language) { std::string textStr = AutoFormatHintTextString(unformattedHintTextString); jsonData["hints"][location->GetName()]["hint"] = textStr; jsonData["hints"][location->GetName()]["type"] = hintTypeNames.find(hintType)->second; - if (hintType == HINT_TYPE_ITEM || hintType == HINT_TYPE_NAMED_ITEM) { + if (hintType == HINT_TYPE_ITEM || hintType == HINT_TYPE_NAMED_ITEM || hintType == HINT_TYPE_WOTH) { jsonData["hints"][location->GetName()]["item"] = hintedLocation->GetPlacedItemName().GetEnglish(); - if (hintType != HINT_TYPE_NAMED_ITEM) { + if (hintType != HINT_TYPE_NAMED_ITEM || hintType == HINT_TYPE_WOTH) { jsonData["hints"][location->GetName()]["location"] = hintedLocation->GetName(); } } |
