summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_npc_bans.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_bans.cpp
parentfc1515fe6177e351b6e9c182979bcd57a1c9cd9f (diff)
Code cleanup to fix warnings in Dusklight (#3167)
Mostly bool/int mixing
Diffstat (limited to 'src/d/actor/d_a_npc_bans.cpp')
-rw-r--r--src/d/actor/d_a_npc_bans.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/actor/d_a_npc_bans.cpp b/src/d/actor/d_a_npc_bans.cpp
index 722a95a7ea..e7d84b00a9 100644
--- a/src/d/actor/d_a_npc_bans.cpp
+++ b/src/d/actor/d_a_npc_bans.cpp
@@ -442,7 +442,7 @@ cPhs_Step daNpc_Bans_c::create() {
int daNpc_Bans_c::CreateHeap() {
J3DModelData* modelData = NULL;
J3DModel* model = NULL;
- u32 idx = mTwilight == true ? TRUE : FALSE;
+ u32 idx = mTwilight == TRUE ? TRUE : FALSE;
int resIdx = l_bmdData[idx][1];
int bmdIdx = l_bmdData[idx][0];
modelData = (J3DModelData*)dComIfG_getObjectRes(l_resNameList[resIdx], bmdIdx);