engine: client: add old GoldSrc feature where ConsolePrint could print to notification zone, similar to Con_NPrintf( 0, ... )
This commit is contained in:
parent
ac05acf6dc
commit
7341a6b020
1 changed files with 8 additions and 1 deletions
|
@ -1936,7 +1936,14 @@ prints directly into console (can skip notify)
|
||||||
*/
|
*/
|
||||||
static void GAME_EXPORT pfnConsolePrint( const char *string )
|
static void GAME_EXPORT pfnConsolePrint( const char *string )
|
||||||
{
|
{
|
||||||
Con_Printf( "%s", string );
|
if( !COM_CheckString( string ))
|
||||||
|
return;
|
||||||
|
|
||||||
|
// WON GoldSrc behavior
|
||||||
|
if( string[0] != '1' )
|
||||||
|
Con_Printf( "%s", string );
|
||||||
|
else
|
||||||
|
Con_NPrintf( 0, "%s", string + 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue