diff options
| author | YunataSavior <58997725+YunataSavior@users.noreply.github.com> | 2026-01-18 17:52:48 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-18 17:52:48 -0800 |
| commit | 52a1e1363a4b91bc49f7994a553d16b90d969619 (patch) | |
| tree | e8a2ae27eefff3c035aa6843b42e77b8a398969a /src/d/actor/d_a_npc_kn.cpp | |
| parent | a5b7f2d1c473728203fe206e79abbc43ff8ade07 (diff) | |
npc_besu, npc_toby DBG equiv (#3051)
Diffstat (limited to 'src/d/actor/d_a_npc_kn.cpp')
| -rw-r--r-- | src/d/actor/d_a_npc_kn.cpp | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/src/d/actor/d_a_npc_kn.cpp b/src/d/actor/d_a_npc_kn.cpp index f29e6b64fc..88c8f6f1b4 100644 --- a/src/d/actor/d_a_npc_kn.cpp +++ b/src/d/actor/d_a_npc_kn.cpp @@ -724,13 +724,7 @@ int daNpc_Kn_c::Draw() { tevcolor.g = 0; tevcolor.b = 0; tevcolor.a = s16(mpHIO->m.alpha); - return draw( -#if DEBUG - chkAction(&daNpc_Kn_c::test), -#else - FALSE, -#endif - FALSE, mpHIO->m.common.real_shadow_size, &tevcolor, 0.0f, TRUE, FALSE, FALSE); + return draw(NpcT_CHK_ACTION(daNpc_Kn_c), FALSE, mpHIO->m.common.real_shadow_size, &tevcolor, 0.0f, TRUE, FALSE, FALSE); } int daNpc_Kn_c::createHeapCallBack(fopAc_ac_c* i_this) { @@ -1362,12 +1356,8 @@ void daNpc_Kn_c::drawOtherMdl() { if (cM3d_IsZero(col_strength) == false) { mTevStr.TevColor.r = col_strength * 20.0f; } - } else { -#if DEBUG - if (chkAction(&daNpc_Kn_c::test)) { - mTevStr.TevColor.g = 20; - } -#endif + } else if (NpcT_CHK_ACTION(daNpc_Kn_c)) { + mTevStr.TevColor.g = 20; } g_env_light.settingTevStruct(0, ¤t.pos, &mTevStr); |
