fix warp song hints not being set if gossip stones are turned off (#2197)

This commit is contained in:
Adam Bird
2022-12-17 20:06:23 -05:00
committed by GitHub
parent be38b41644
commit c4b077d83b
3 changed files with 7 additions and 1 deletions

View File

@@ -909,6 +909,9 @@ void VanillaFill() {
CreateItemOverrides();
CreateEntranceOverrides();
CreateAlwaysIncludedMessages();
if (ShuffleWarpSongs) {
CreateWarpSongTexts();
}
}
void ClearProgress() {
@@ -1071,6 +1074,9 @@ int Fill() {
if (ShuffleMerchants.Is(SHUFFLEMERCHANTS_HINTS)) {
CreateMerchantsHints();
}
if (ShuffleWarpSongs) {
CreateWarpSongTexts();
}
return 1;
}
//Unsuccessful placement

View File

@@ -779,7 +779,6 @@ void CreateAllHints() {
CreateGanonText();
CreateAltarText();
CreateWarpSongTexts();
SPDLOG_DEBUG("\nNOW CREATING HINTS\n");
const HintSetting& hintSetting = hintSettingTable[Settings::HintDistribution.Value<uint8_t>()];

View File

@@ -220,6 +220,7 @@ extern std::array<ConditionalAlwaysHint, 9> conditionalAlwaysHints;
extern uint32_t GetHintRegionHintKey(const uint32_t area);
extern void CreateAllHints();
extern void CreateMerchantsHints();
extern void CreateWarpSongTexts();
Text& GetChildAltarText();
Text& GetAdultAltarText();