mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-31 12:00:25 -07:00
update entrance tracker with hint
This commit is contained in:
parent
fedd5ac1c1
commit
a6c615502c
1 changed files with 1 additions and 0 deletions
|
@ -2372,6 +2372,7 @@ extern "C" int CustomMessage_RetrieveIfExists(PlayState* play) {
|
||||||
if (entrance != -1) {
|
if (entrance != -1) {
|
||||||
auto data = GetEntranceData(Entrance_GetOverride(entrance));
|
auto data = GetEntranceData(Entrance_GetOverride(entrance));
|
||||||
if (data != nullptr) {
|
if (data != nullptr) {
|
||||||
|
Entrance_SetEntranceDiscovered(entrance, false);
|
||||||
font->charTexBuf[0] = (TEXTBOX_TYPE_WOODEN << 4) | TEXTBOX_POS_BOTTOM;
|
font->charTexBuf[0] = (TEXTBOX_TYPE_WOODEN << 4) | TEXTBOX_POS_BOTTOM;
|
||||||
return msgCtx->msgLength = font->msgLength = SohUtils::CopyStringToCharBuffer(
|
return msgCtx->msgLength = font->msgLength = SohUtils::CopyStringToCharBuffer(
|
||||||
buffer, data->destination + CustomMessage::MESSAGE_END(), maxBufferSize);
|
buffer, data->destination + CustomMessage::MESSAGE_END(), maxBufferSize);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue