summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_b_zant.cpp
diff options
context:
space:
mode:
authorPieter-Jan Briers <pieterjan.briers+git@gmail.com>2026-06-20 03:26:56 +0200
committerGitHub <noreply@github.com>2026-06-19 18:26:56 -0700
commit8d43c80c42f1a4c3835a2124ebeaf044c90e3839 (patch)
tree8ee87394a9003a4ed4d8b0e19b501eff21d02c61 /src/d/actor/d_a_b_zant.cpp
parentfc1515fe6177e351b6e9c182979bcd57a1c9cd9f (diff)
Code cleanup to fix warnings in Dusklight (#3167)
Mostly bool/int mixing
Diffstat (limited to 'src/d/actor/d_a_b_zant.cpp')
-rw-r--r--src/d/actor/d_a_b_zant.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/d/actor/d_a_b_zant.cpp b/src/d/actor/d_a_b_zant.cpp
index c72558b701..65ba21f832 100644
--- a/src/d/actor/d_a_b_zant.cpp
+++ b/src/d/actor/d_a_b_zant.cpp
@@ -873,20 +873,20 @@ void daB_ZANT_c::setZantMessage(int i_msgNo) {
mMsgID = fopMsgM_messageSet(i_msgNo, 1000);
}
-int daB_ZANT_c::doZantMessage() {
+BOOL daB_ZANT_c::doZantMessage() {
if (mpMsg != NULL) {
if (mpMsg->mode == 14) {
mpMsg->mode = 16;
} else if (mpMsg->mode == 18) {
mpMsg->mode = 19;
mMsgID = fpcM_ERROR_PROCESS_ID_e;
- return 1;
+ return TRUE;
}
} else {
mpMsg = fopMsgM_SearchByID(mMsgID);
}
- return 0;
+ return FALSE;
}
void daB_ZANT_c::setIceLandingEffect(BOOL i_landFootR) {
@@ -1395,7 +1395,7 @@ void daB_ZANT_c::executeOpening() {
}
break;
case MODE_MSG_1_WAIT:
- if (doZantMessage() == true) {
+ if (doZantMessage() == TRUE) {
mModeTimer = 20;
mMode = MODE_WARP_OUT_SE;
}
@@ -1463,7 +1463,7 @@ void daB_ZANT_c::executeOpening() {
}
break;
case MODE_MSG_2:
- if (doZantMessage() == true) {
+ if (doZantMessage() == TRUE) {
setBck(BCK_ZAN_OP_RISE, J3DFrameCtrl::EMode_LOOP, 10.0f, 1.0f);
mMode = MODE_FLY_UP;
mModeTimer = 90;