From 4372d0fda8f936cfafd0ba2b167d4c40852e35c7 Mon Sep 17 00:00:00 2001 From: AJ Martinez Date: Mon, 27 Nov 2023 02:33:52 -0700 Subject: [PATCH] Disable constole print on cusval change MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We use this for a bunch of stuff now, it's just clutter—even in DEVELOP --- src/p_enemy.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/p_enemy.c b/src/p_enemy.c index f76bf88b7..649f683e0 100644 --- a/src/p_enemy.c +++ b/src/p_enemy.c @@ -9002,8 +9002,10 @@ void A_SetCustomValue(mobj_t *actor) if (LUA_CallAction(A_SETCUSTOMVALUE, actor)) return; + /* if (cht_debug) CONS_Printf("Init custom value is %d\n", actor->cusval); + */ if (locvar1 == 0 && locvar2 == 4) return; // DON'T DIVIDE BY ZERO @@ -9022,8 +9024,10 @@ void A_SetCustomValue(mobj_t *actor) else // replace actor->cusval = locvar1; + /* if(cht_debug) CONS_Printf("New custom value is %d\n", actor->cusval); + */ } // Function: A_UseCusValMemo