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_zelRo.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_zelRo.cpp')
| -rw-r--r-- | src/d/actor/d_a_npc_zelRo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/actor/d_a_npc_zelRo.cpp b/src/d/actor/d_a_npc_zelRo.cpp index 8eeabe0d67..85d8bbd28d 100644 --- a/src/d/actor/d_a_npc_zelRo.cpp +++ b/src/d/actor/d_a_npc_zelRo.cpp @@ -223,7 +223,7 @@ cPhs_Step daNpc_ZelRo_c::create() { } int daNpc_ZelRo_c::CreateHeap() { - int bmdIdx = mTwilight == true ? NONE : NONE; + int bmdIdx = mTwilight == TRUE ? NONE : NONE; J3DModelData* mdlData_p = (J3DModelData*)dComIfG_getObjectRes(l_resNameList[l_bmdData[bmdIdx][1]], l_bmdData[bmdIdx][0]); JUT_ASSERT(432, NULL != mdlData_p); @@ -521,7 +521,7 @@ void daNpc_ZelRo_c::setCollision() { cXyz pos; if (!mHide) { - if (mTwilight == true && !dComIfGp_event_runCheck()) { + if (mTwilight == TRUE && !dComIfGp_event_runCheck()) { mCyl.SetCoSPrm(0x69); } else { mCyl.SetCoSPrm(0x79); |
