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:
Spoike 2005-04-27 15:52:15 +00:00
parent db7e43b79e
commit a2cb6abac0

View file

@ -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);