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:
Molgrum 2008-06-27 20:26:33 +00:00
parent d71843d2e4
commit eec8fcb78b
1 changed files with 7 additions and 2 deletions

View File

@ -139,7 +139,8 @@ typedef enum
G_PRECAHCE_VWEP_MODEL,
G_SETPAUSE,
G_SETUSERINFO,
G_SETUSERINFO,
G_MOVETOGOAL,
G_MAX
@ -1100,7 +1101,11 @@ Con_DPrintf("PF_readcmd: %s\n%s", s, output);
if (*key == '*' && (VM_LONG(arg[3])&1))
return -1; //denied!
}
//fallthrough
//fallthrough
case G_MOVETOGOAL:
return !!WrapQCBuiltin(SV_MoveToGoal, offset, mask, arg, "f");
case G_SetBotUserInfo:
WrapQCBuiltin(PF_ForceInfoKey, offset, mask, arg, "ess");
return 0;