Guess who got the parameters the wrong way around.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@982 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
db7e43b79e
commit
a2cb6abac0
1 changed files with 2 additions and 2 deletions
|
@ -1678,8 +1678,8 @@ qboolean CSQC_KeyPress(int key, qboolean down)
|
|||
return false;
|
||||
|
||||
pr_globals = PR_globals(csqcprogs, PR_CURRENT);
|
||||
G_FLOAT(OFS_PARM0) = key;
|
||||
G_FLOAT(OFS_PARM1) = !down;
|
||||
G_FLOAT(OFS_PARM0) = !down;
|
||||
G_FLOAT(OFS_PARM1) = key;
|
||||
G_FLOAT(OFS_PARM2) = 0;
|
||||
|
||||
PR_ExecuteProgram (csqcprogs, csqcg.input_event);
|
||||
|
|
Loading…
Reference in a new issue