mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: client: add old GoldSrc feature where ConsolePrint could print to notification zone, similar to Con_NPrintf( 0, ... )
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user