engine/EngineConsole.c
/*	Okay to call even when the screen can't be updated
*/
Okay to call even when the screen can't be updated
Okay to call even when the screen can ' t be updated
void Con_SafePrintf (const char *fmt, ...)
{
	va_list		argptr;
	char		msg[1024];
	int			temp;
	va_start(argptr,fmt);
	vsprintf(msg,fmt,argptr);
	va_end(argptr);
	temp = scr_disabled_for_loading;
	scr_disabled_for_loading = true;
	Con_Printf ("%s", msg);
	scr_disabled_for_loading = temp;
}
void Con_SafePrintf ( const char * fmt , ... ) { va_list argptr ; char msg [ 1024 ] ; int temp ; va_start ( argptr , fmt ) ; vsprintf ( msg , fmt , argptr ) ; va_end ( argptr ) ; temp = scr_disabled_for_loading ; scr_disabled_for_loading = true ; Con_Printf ( " " , msg ) ; scr_disabled_for_loading = temp ; }
Okay to call even when the screen can't be updated
Okay to call even when the screen can ' t be updated