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
|
@ -140,6 +140,7 @@ typedef enum
|
|||
G_PRECAHCE_VWEP_MODEL,
|
||||
G_SETPAUSE,
|
||||
G_SETUSERINFO,
|
||||
G_MOVETOGOAL,
|
||||
|
||||
|
||||
G_MAX
|
||||
|
@ -1101,6 +1102,10 @@ Con_DPrintf("PF_readcmd: %s\n%s", s, output);
|
|||
return -1; //denied!
|
||||
}
|
||||
//fallthrough
|
||||
|
||||
case G_MOVETOGOAL:
|
||||
return !!WrapQCBuiltin(SV_MoveToGoal, offset, mask, arg, "f");
|
||||
|
||||
case G_SetBotUserInfo:
|
||||
WrapQCBuiltin(PF_ForceInfoKey, offset, mask, arg, "ess");
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue