Fix dedicated server build
This commit is contained in:
parent
dcc19aeafb
commit
0c903c1e56
2 changed files with 5 additions and 4 deletions
|
@ -84,7 +84,7 @@ const char *svc_strings[256] =
|
||||||
"svc_unused63",
|
"svc_unused63",
|
||||||
};
|
};
|
||||||
|
|
||||||
qboolean CL_Active( void )
|
int CL_Active( void )
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -284,12 +284,12 @@ void S_StopAllSounds( qboolean ambient )
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Con_NPrintf( int idx, char *fmt, ... )
|
void Con_NPrintf( int idx, const char *fmt, ... )
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Con_NXPrintf( struct con_nprint_s *info, char *fmt, ... )
|
void Con_NXPrintf( struct con_nprint_s *info, const char *fmt, ... )
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -631,6 +631,7 @@ void Host_InitCommon( int argc, char **argv, const char *progname, qboolean bCha
|
||||||
char dev_level[4];
|
char dev_level[4];
|
||||||
int developer = 0;
|
int developer = 0;
|
||||||
const char *baseDir;
|
const char *baseDir;
|
||||||
|
char ticrate[16];
|
||||||
|
|
||||||
// some commands may turn engine into infinite loop,
|
// some commands may turn engine into infinite loop,
|
||||||
// e.g. xash.exe +game xash -game xash
|
// e.g. xash.exe +game xash -game xash
|
||||||
|
@ -833,7 +834,7 @@ void Host_InitCommon( int argc, char **argv, const char *progname, qboolean bCha
|
||||||
|
|
||||||
if( Sys_GetParmFromCmdLine( "-sys_ticrate", ticrate ))
|
if( Sys_GetParmFromCmdLine( "-sys_ticrate", ticrate ))
|
||||||
{
|
{
|
||||||
fps = bound( MIN_FPS, atof( ticrate ), MAX_FPS );
|
double fps = bound( MIN_FPS, atof( ticrate ), MAX_FPS );
|
||||||
Cvar_SetValue( "sys_ticrate", fps );
|
Cvar_SetValue( "sys_ticrate", fps );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue