diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-01-06 22:21:56 -0500 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-01-06 22:21:56 -0500 |
| commit | cee53aa7b2466dcd095733ce33fb25f5bdefb581 (patch) | |
| tree | c632651b44bfe7e41ed346cfe8748349b030583e /src/d/d_s_play.cpp | |
| parent | 2dd14bfcdcf756271b0bb23f1e8c87b6f717cbdc (diff) | |
use more inlines and enums
Diffstat (limited to 'src/d/d_s_play.cpp')
| -rw-r--r-- | src/d/d_s_play.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/d_s_play.cpp b/src/d/d_s_play.cpp index 12fa352f..04c171bd 100644 --- a/src/d/d_s_play.cpp +++ b/src/d/d_s_play.cpp @@ -242,10 +242,10 @@ void dScnPly_msg_HIO_c::dScnPly_msg_HIO_messageProc() { } else { msg_class* msg_p = fopMsgM_SearchByID(field_0x10); if (msg_p != NULL) { - if (msg_p->mMode == 14) { - msg_p->mMode = 16; - } else if (msg_p->mMode == 18) { - msg_p->mMode = 19; + if (msg_p->mStatus == fopMsgStts_MSG_DISPLAYED_e) { + msg_p->mStatus = fopMsgStts_MSG_ENDS_e; + } else if (msg_p->mStatus == fopMsgStts_BOX_CLOSED_e) { + msg_p->mStatus = fopMsgStts_MSG_DESTROYED_e; field_0x10 = fpcM_ERROR_PROCESS_ID_e; field_0x06 = 0; mID++; |
