Fixed compile errors.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2634 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
dc3e0d5872
commit
eaf6335e74
1 changed files with 9 additions and 7 deletions
|
@ -657,7 +657,8 @@ long syscallqvm (void *offset, unsigned int mask, int fn, const long *arg)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case G_CHECKCLIENT:
|
case G_CHECKCLIENT:
|
||||||
return PF_checkclientinternal(VM_LONG(arg[0]));
|
// return PF_checkclientinternal(VM_LONG(arg[0]));
|
||||||
|
break;
|
||||||
|
|
||||||
case G_STUFFCMD:
|
case G_STUFFCMD:
|
||||||
{
|
{
|
||||||
|
@ -817,7 +818,7 @@ long syscallqvm (void *offset, unsigned int mask, int fn, const long *arg)
|
||||||
|
|
||||||
case G_DISABLEUPDATES:
|
case G_DISABLEUPDATES:
|
||||||
//FIXME: remember to ask mvdsv people why this is useful
|
//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;
|
break;
|
||||||
|
|
||||||
case G_WRITEBYTE:
|
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]));
|
Q_strncpyz(VM_POINTER(arg[0]), c, VM_LONG(arg[1]));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case G_CMD_TOKENIZE:
|
case G_CMD_TOKENIZE:
|
||||||
char *str = VM_POINTER(arg[0]);
|
{
|
||||||
Cmd_TokenizeString(str, false, false);
|
char *str = VM_POINTER(arg[0]);
|
||||||
return Cmd_Argc();
|
Cmd_TokenizeString(str, false, false);
|
||||||
|
return Cmd_Argc();
|
||||||
|
}
|
||||||
|
break;
|
||||||
case G_strlcpy:
|
case G_strlcpy:
|
||||||
{
|
{
|
||||||
char *dst = VM_POINTER(arg[0]);
|
char *dst = VM_POINTER(arg[0]);
|
||||||
|
|
Loading…
Reference in a new issue