update entrance tracker with hint

This commit is contained in:
Demur Rumed 2025-04-11 13:29:00 +00:00
parent fedd5ac1c1
commit a6c615502c

View file

@ -2372,6 +2372,7 @@ extern "C" int CustomMessage_RetrieveIfExists(PlayState* play) {
if (entrance != -1) {
auto data = GetEntranceData(Entrance_GetOverride(entrance));
if (data != nullptr) {
Entrance_SetEntranceDiscovered(entrance, false);
font->charTexBuf[0] = (TEXTBOX_TYPE_WOODEN << 4) | TEXTBOX_POS_BOTTOM;
return msgCtx->msgLength = font->msgLength = SohUtils::CopyStringToCharBuffer(
buffer, data->destination + CustomMessage::MESSAGE_END(), maxBufferSize);