From b25e64d1bd2ece30301f9fa5af78f963afd0cf76 Mon Sep 17 00:00:00 2001 From: engineer124 <47598039+engineer124@users.noreply.github.com> Date: Sat, 25 Nov 2023 17:34:33 +1100 Subject: `z_en_test4.c` Documented (#1498) * begin docs * more docs * skybox * more cleanup * more cleanup * more cleanup * Improve comment * in-function static --- src/code/z_message.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/code/z_message.c') diff --git a/src/code/z_message.c b/src/code/z_message.c index 63330e507..ca0288817 100644 --- a/src/code/z_message.c +++ b/src/code/z_message.c @@ -5725,7 +5725,7 @@ void Message_Update(PlayState* play) { } if ((msgCtx->currentTextId >= 0x1BB2) && (msgCtx->currentTextId <= 0x1BB6) && - (play->actorCtx.flags & ACTORCTX_FLAG_1)) { + (play->actorCtx.flags & ACTORCTX_FLAG_TELESCOPE_ON)) { Message_StartTextbox(play, 0x5E6, NULL); break; } @@ -5888,7 +5888,7 @@ void Message_Update(PlayState* play) { msgCtx->textboxColorAlphaCurrent -= XREG(70); if (msgCtx->textboxColorAlphaCurrent <= 0) { if ((msgCtx->currentTextId >= 0x1BB2) && (msgCtx->currentTextId <= 0x1BB6) && - (play->actorCtx.flags & ACTORCTX_FLAG_1)) { + (play->actorCtx.flags & ACTORCTX_FLAG_TELESCOPE_ON)) { Message_StartTextbox(play, 0x5E6, NULL); Interface_SetHudVisibility(HUD_VISIBILITY_NONE_ALT); } else { -- cgit v1.2.3