mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
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
@ -1936,7 +1936,14 @@ prints directly into console (can skip notify)
|
||||
*/
|
||||
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…
x
Reference in New Issue
Block a user