mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
misc compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4466 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
bdbcde319a
commit
2fcd837d57
3 changed files with 5 additions and 0 deletions
|
@ -3392,8 +3392,10 @@ void FS_ChangeGame_f(void)
|
|||
}
|
||||
}
|
||||
|
||||
#ifndef SERVERONLY
|
||||
if (!Host_RunFile(arg, strlen(arg), NULL))
|
||||
Con_Printf("Game unknown\n");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
void FS_ShowManifest_f(void)
|
||||
|
|
|
@ -5514,7 +5514,9 @@ qboolean QDECL ICE_Set(struct icestate_s *con, char *prop, char *value)
|
|||
int codec = atoi(prop+5);
|
||||
if (codec < 96 || codec > 127)
|
||||
return false;
|
||||
#if !defined(SERVERONLY) && defined(VOICECHAT)
|
||||
if (!S_Voip_RTP_CodecOkay(value))
|
||||
#endif
|
||||
{
|
||||
Z_Free(con->codec[codec]);
|
||||
con->codec[codec] = NULL;
|
||||
|
|
|
@ -38,6 +38,7 @@ static void PR_PrintStatement (progfuncs_t *progfuncs, int statementnum)
|
|||
|
||||
switch(current_progstate->structtype)
|
||||
{
|
||||
default:
|
||||
case PST_DEFAULT:
|
||||
case PST_QTEST:
|
||||
op = ((dstatement16_t*)current_progstate->statements + statementnum)->op;
|
||||
|
|
Loading…
Reference in a new issue