diff options
| author | Pieter-Jan Briers <pieterjan.briers+git@gmail.com> | 2026-06-20 03:26:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-19 18:26:56 -0700 |
| commit | 8d43c80c42f1a4c3835a2124ebeaf044c90e3839 (patch) | |
| tree | 8ee87394a9003a4ed4d8b0e19b501eff21d02c61 /src/d/actor/d_a_npc_grmc.cpp | |
| parent | fc1515fe6177e351b6e9c182979bcd57a1c9cd9f (diff) | |
Code cleanup to fix warnings in Dusklight (#3167)
Mostly bool/int mixing
Diffstat (limited to 'src/d/actor/d_a_npc_grmc.cpp')
| -rw-r--r-- | src/d/actor/d_a_npc_grmc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/actor/d_a_npc_grmc.cpp b/src/d/actor/d_a_npc_grmc.cpp index 8b9a261d76..f9a426b72d 100644 --- a/src/d/actor/d_a_npc_grmc.cpp +++ b/src/d/actor/d_a_npc_grmc.cpp @@ -288,7 +288,7 @@ cPhs_Step daNpc_grMC_c::create() { } int daNpc_grMC_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])); @@ -579,7 +579,7 @@ void daNpc_grMC_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); |
