summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_npc_grm.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_npc_grm.cpp
parentfc1515fe6177e351b6e9c182979bcd57a1c9cd9f (diff)
Code cleanup to fix warnings in Dusklight (#3167)
Mostly bool/int mixing
Diffstat (limited to 'src/d/actor/d_a_npc_grm.cpp')
-rw-r--r--src/d/actor/d_a_npc_grm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/actor/d_a_npc_grm.cpp b/src/d/actor/d_a_npc_grm.cpp
index 6b4241523f..43b80686aa 100644
--- a/src/d/actor/d_a_npc_grm.cpp
+++ b/src/d/actor/d_a_npc_grm.cpp
@@ -227,7 +227,7 @@ cPhs_Step daNpc_grM_c::create() {
}
int daNpc_grM_c::CreateHeap() {
- int bmdIdx = mTwilight == true ? NONE : NONE;
+ int bmdIdx = mTwilight == TRUE ? NONE : NONE;
J3DModelData* mdlData_p = static_cast<J3DModelData*>(
dComIfG_getObjectRes(l_resNameList[l_bmdData[bmdIdx][1]], l_bmdData[bmdIdx][0]));
@@ -574,7 +574,7 @@ void daNpc_grM_c::setAttnPos() {
void daNpc_grM_c::setCollision() {
cXyz pos;
if (!mHide) {
- if (mTwilight == true && !dComIfGp_event_runCheck()) {
+ if (mTwilight == TRUE && !dComIfGp_event_runCheck()) {
mCyl.SetCoSPrm(105);
} else {
mCyl.SetCoSPrm(121);