From eaf6335e747b941681b763aac18999377830ef16 Mon Sep 17 00:00:00 2001 From: Molgrum Date: Sun, 2 Sep 2007 20:19:09 +0000 Subject: [PATCH] Fixed compile errors. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2634 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/server/pr_q1qvm.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/engine/server/pr_q1qvm.c b/engine/server/pr_q1qvm.c index d04d77468..3aed4f767 100755 --- a/engine/server/pr_q1qvm.c +++ b/engine/server/pr_q1qvm.c @@ -657,7 +657,8 @@ long syscallqvm (void *offset, unsigned int mask, int fn, const long *arg) break; case G_CHECKCLIENT: - return PF_checkclientinternal(VM_LONG(arg[0])); +// return PF_checkclientinternal(VM_LONG(arg[0])); + break; case G_STUFFCMD: { @@ -817,7 +818,7 @@ long syscallqvm (void *offset, unsigned int mask, int fn, const long *arg) case G_DISABLEUPDATES: //FIXME: remember to ask mvdsv people why this is useful - Con_Print("G_DISABLEUPDATES: not supported\n"); + Con_Printf("G_DISABLEUPDATES: not supported\n"); break; case G_WRITEBYTE: @@ -1102,12 +1103,13 @@ Con_DPrintf("PF_readcmd: %s\n%s", s, output); Q_strncpyz(VM_POINTER(arg[0]), c, VM_LONG(arg[1])); } break; - case G_CMD_TOKENIZE: - char *str = VM_POINTER(arg[0]); - Cmd_TokenizeString(str, false, false); - return Cmd_Argc(); - + { + char *str = VM_POINTER(arg[0]); + Cmd_TokenizeString(str, false, false); + return Cmd_Argc(); + } + break; case G_strlcpy: { char *dst = VM_POINTER(arg[0]);