mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
set time and self when calling ClientCommand
This commit is contained in:
parent
7af2378e03
commit
32733ef3d9
1 changed files with 3 additions and 0 deletions
|
@ -752,6 +752,9 @@ cpqw_user_cmd (void)
|
||||||
if (argc > 7)
|
if (argc > 7)
|
||||||
argc = 7;
|
argc = 7;
|
||||||
|
|
||||||
|
*sv_globals.time = sv.time;
|
||||||
|
*sv_globals.self = EDICT_TO_PROG (&sv_pr_state, sv_player);
|
||||||
|
|
||||||
PR_PushFrame (pr);
|
PR_PushFrame (pr);
|
||||||
P_FLOAT (pr, 0) = argc;
|
P_FLOAT (pr, 0) = argc;
|
||||||
for (i = 0; i < argc; i++)
|
for (i = 0; i < argc; i++)
|
||||||
|
|
Loading…
Reference in a new issue