summaryrefslogtreecommitdiff
path: root/src/code/z_message.c
diff options
context:
space:
mode:
authorengineer124 <47598039+engineer124@users.noreply.github.com>2023-11-25 17:34:33 +1100
committerGitHub <noreply@github.com>2023-11-25 17:34:33 +1100
commitb25e64d1bd2ece30301f9fa5af78f963afd0cf76 (patch)
tree16bbd3fc0fb479b470351adfcbad35274abaf2c8 /src/code/z_message.c
parent919d3d81e012e58cf5a04db6559844bb4869e247 (diff)
`z_en_test4.c` Documented (#1498)
* begin docs * more docs * skybox * more cleanup * more cleanup * more cleanup * Improve comment * in-function static
Diffstat (limited to 'src/code/z_message.c')
-rw-r--r--src/code/z_message.c4
1 files changed, 2 insertions, 2 deletions
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 {