|
|
@ -670,7 +670,9 @@ void Sys_Print( const char *pMsg ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
#ifndef XASH_DEDICATED |
|
|
|
#ifndef XASH_DEDICATED |
|
|
|
if( !Host_IsDedicated() ) |
|
|
|
if( !Host_IsDedicated() ) |
|
|
|
|
|
|
|
{ |
|
|
|
Con_Print( pMsg ); |
|
|
|
Con_Print( pMsg ); |
|
|
|
|
|
|
|
} |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#ifdef _WIN32 |
|
|
|
#ifdef _WIN32 |
|
|
@ -682,11 +684,6 @@ void Sys_Print( const char *pMsg ) |
|
|
|
char *c = logbuf; |
|
|
|
char *c = logbuf; |
|
|
|
int i = 0; |
|
|
|
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 the message is REALLY long, use just the last portion of it
|
|
|
|
if( Q_strlen( pMsg ) > sizeof( buffer ) - 1 ) |
|
|
|
if( Q_strlen( pMsg ) > sizeof( buffer ) - 1 ) |
|
|
|
msg = pMsg + Q_strlen( pMsg ) - sizeof( buffer ) + 1; |
|
|
|
msg = pMsg + Q_strlen( pMsg ) - sizeof( buffer ) + 1; |
|
|
|