From: havoc Date: Mon, 9 May 2005 12:58:05 +0000 (+0000) Subject: changed 3 occurences of very if (developer.integer) Con_Print code to Con_DPrint X-Git-Tag: xonotic-v0.1.0preview~4927 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ae83ea5c8eadb87c0255bc97b5fe455ca7f55301;p=xonotic%2Fdarkplaces.git changed 3 occurences of very if (developer.integer) Con_Print code to Con_DPrint git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5252 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cvar.c b/cvar.c index b77fee3d..2337ae87 100644 --- a/cvar.c +++ b/cvar.c @@ -411,8 +411,7 @@ qboolean Cvar_Command (void) return true; } - if (developer.integer) - Con_Print("Cvar_Command: "); + Con_DPrint("Cvar_Command: "); if (v->flags & CVAR_READONLY) { @@ -502,8 +501,7 @@ void Cvar_Set_f (void) return; } - if (developer.integer) - Con_Print("Set: "); + Con_DPrint("Set: "); // all looks ok, create/modify the cvar Cvar_Get(Cmd_Argv(1), Cmd_Argv(2), 0); @@ -528,8 +526,7 @@ void Cvar_SetA_f (void) return; } - if (developer.integer) - Con_Print("SetA: "); + Con_DPrint("SetA: "); // all looks ok, create/modify the cvar Cvar_Get(Cmd_Argv(1), Cmd_Argv(2), CVAR_SAVE);