mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Disable constole print on cusval change
We use this for a bunch of stuff now, it's just clutter—even in DEVELOP
This commit is contained in:
parent
29c92b8c31
commit
4372d0fda8
1 changed files with 4 additions and 0 deletions
|
|
@ -9002,8 +9002,10 @@ void A_SetCustomValue(mobj_t *actor)
|
||||||
if (LUA_CallAction(A_SETCUSTOMVALUE, actor))
|
if (LUA_CallAction(A_SETCUSTOMVALUE, actor))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
/*
|
||||||
if (cht_debug)
|
if (cht_debug)
|
||||||
CONS_Printf("Init custom value is %d\n", actor->cusval);
|
CONS_Printf("Init custom value is %d\n", actor->cusval);
|
||||||
|
*/
|
||||||
|
|
||||||
if (locvar1 == 0 && locvar2 == 4)
|
if (locvar1 == 0 && locvar2 == 4)
|
||||||
return; // DON'T DIVIDE BY ZERO
|
return; // DON'T DIVIDE BY ZERO
|
||||||
|
|
@ -9022,8 +9024,10 @@ void A_SetCustomValue(mobj_t *actor)
|
||||||
else // replace
|
else // replace
|
||||||
actor->cusval = locvar1;
|
actor->cusval = locvar1;
|
||||||
|
|
||||||
|
/*
|
||||||
if(cht_debug)
|
if(cht_debug)
|
||||||
CONS_Printf("New custom value is %d\n", actor->cusval);
|
CONS_Printf("New custom value is %d\n", actor->cusval);
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
// Function: A_UseCusValMemo
|
// Function: A_UseCusValMemo
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue