diff --git a/engine/common/fs.c b/engine/common/fs.c index 81ba9e1bc..8ed4371ee 100644 --- a/engine/common/fs.c +++ b/engine/common/fs.c @@ -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) diff --git a/engine/common/net_wins.c b/engine/common/net_wins.c index c7b2624f5..01376c06a 100644 --- a/engine/common/net_wins.c +++ b/engine/common/net_wins.c @@ -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; diff --git a/engine/qclib/pr_exec.c b/engine/qclib/pr_exec.c index aaf1610ef..90191505d 100644 --- a/engine/qclib/pr_exec.c +++ b/engine/qclib/pr_exec.c @@ -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;