From f4a3b8571d6b5b71612f68a248046a61a0a2825b Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 29 Jul 2024 04:48:17 +0300 Subject: [PATCH] engine: fix inverted check in debug log output Why there is even this check in the first place??? --- engine/common/sys_con.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/sys_con.c b/engine/common/sys_con.c index 2f121df5..ffb6d3a8 100644 --- a/engine/common/sys_con.c +++ b/engine/common/sys_con.c @@ -338,7 +338,7 @@ static void Con_Printfv( qboolean debug, const char *szFmt, va_list args ) add_newline = Q_vsnprintf( buffer, sizeof( buffer ), szFmt, args ) < 0; - if( debug && Q_strcmp( buffer, "0\n" )) + if( debug && !Q_strcmp( buffer, "0\n" )) return; // hlrally spam Sys_Print( buffer );