Don't autoformat altar hints twice. (#6295)

This commit is contained in:
Christopher Leggett 2026-02-26 23:26:52 +00:00 committed by GitHub
parent b6cdc6c490
commit c3ffaa918d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -98,14 +98,12 @@ void BuildSheikMessage(uint16_t* textId, bool* loadFromMessageTable) {
void BuildChildAltarMessage(uint16_t* textId, bool* loadFromMessageTable) {
CustomMessage msg = RAND_GET_HINT(RH_ALTAR_CHILD)->GetHintMessage();
msg.AutoFormat();
msg.LoadIntoFont();
*loadFromMessageTable = false;
}
void BuildAdultAltarMessage(uint16_t* textId, bool* loadFromMessageTable) {
CustomMessage msg = RAND_GET_HINT(RH_ALTAR_ADULT)->GetHintMessage();
msg.AutoFormat();
msg.LoadIntoFont();
*loadFromMessageTable = false;
}