mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 11:35:05 +08:00
Fix dedicated compiling errors
This commit is contained in:
@@ -668,8 +668,10 @@ print into window console
|
||||
*/
|
||||
void Sys_Print( const char *pMsg )
|
||||
{
|
||||
#ifndef XASH_DEDICATED
|
||||
if( !Host_IsDedicated() )
|
||||
Con_Print( pMsg );
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
{
|
||||
@@ -680,8 +682,10 @@ void Sys_Print( const char *pMsg )
|
||||
char *c = logbuf;
|
||||
int i = 0;
|
||||
|
||||
if( host.type == HOST_NORMAL )
|
||||
#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 )
|
||||
|
||||
Reference in New Issue
Block a user