Patch from Spike, change droptofloor() to take entity number as argument instead to comply with QVM mods.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3020 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
eec8fcb78b
commit
8278f53e15
1 changed files with 1 additions and 1 deletions
|
@ -735,7 +735,7 @@ static int syscallqvm (void *offset, unsigned int mask, int fn, const int *arg)
|
|||
trace_t trace;
|
||||
extern cvar_t pr_droptofloorunits;
|
||||
|
||||
ent = PROG_TO_EDICT(svprogfuncs, pr_global_struct->self);
|
||||
ent = EDICT_NUM(svprogfuncs, arg[0]);
|
||||
|
||||
VectorCopy (ent->v->origin, end);
|
||||
if (pr_droptofloorunits.value > 0)
|
||||
|
|
Loading…
Reference in a new issue