Add G_MOVETOGOAL builtin for KTX.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3019 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
d71843d2e4
commit
eec8fcb78b
1 changed files with 7 additions and 2 deletions
|
@ -139,7 +139,8 @@ typedef enum
|
||||||
|
|
||||||
G_PRECAHCE_VWEP_MODEL,
|
G_PRECAHCE_VWEP_MODEL,
|
||||||
G_SETPAUSE,
|
G_SETPAUSE,
|
||||||
G_SETUSERINFO,
|
G_SETUSERINFO,
|
||||||
|
G_MOVETOGOAL,
|
||||||
|
|
||||||
|
|
||||||
G_MAX
|
G_MAX
|
||||||
|
@ -1100,7 +1101,11 @@ Con_DPrintf("PF_readcmd: %s\n%s", s, output);
|
||||||
if (*key == '*' && (VM_LONG(arg[3])&1))
|
if (*key == '*' && (VM_LONG(arg[3])&1))
|
||||||
return -1; //denied!
|
return -1; //denied!
|
||||||
}
|
}
|
||||||
//fallthrough
|
//fallthrough
|
||||||
|
|
||||||
|
case G_MOVETOGOAL:
|
||||||
|
return !!WrapQCBuiltin(SV_MoveToGoal, offset, mask, arg, "f");
|
||||||
|
|
||||||
case G_SetBotUserInfo:
|
case G_SetBotUserInfo:
|
||||||
WrapQCBuiltin(PF_ForceInfoKey, offset, mask, arg, "ess");
|
WrapQCBuiltin(PF_ForceInfoKey, offset, mask, arg, "ess");
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue