mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-12-26 10:45:47 +01:00
console: fix double printed console messages on Win32
This commit is contained in:
parent
e50d22bce7
commit
bff9ca8438
@ -670,7 +670,9 @@ void Sys_Print( const char *pMsg )
|
||||
{
|
||||
#ifndef XASH_DEDICATED
|
||||
if( !Host_IsDedicated() )
|
||||
{
|
||||
Con_Print( pMsg );
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
@ -682,11 +684,6 @@ void Sys_Print( const char *pMsg )
|
||||
char *c = logbuf;
|
||||
int i = 0;
|
||||
|
||||
#ifndef XASH_DEDICATED
|
||||
if( !Host_IsDedicated() )
|
||||
Con_Print( pMsg );
|
||||
#endif
|
||||
|
||||
// if the message is REALLY long, use just the last portion of it
|
||||
if( Q_strlen( pMsg ) > sizeof( buffer ) - 1 )
|
||||
msg = pMsg + Q_strlen( pMsg ) - sizeof( buffer ) + 1;
|
||||
|
Loading…
Reference in New Issue
Block a user