mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
Use "return" strings instead of temp strings for qwe.
QF's temp strings have very different semantics. Return strings are the ones with the same semantics (only 16 slots instead of 8 in mvdsv:)
This commit is contained in:
parent
2dea74ce91
commit
02de92abb0
1 changed files with 1 additions and 1 deletions
|
@ -351,7 +351,7 @@ PF_calltimeofday (progs_t *pr)
|
|||
P_FLOAT (pr, 3) = (float) date.day;
|
||||
P_FLOAT (pr, 4) = (float) date.mon;
|
||||
P_FLOAT (pr, 5) = (float) date.year;
|
||||
P_STRING (pr, 6) = PR_SetTempString (pr, date.str);
|
||||
P_STRING (pr, 6) = PR_SetReturnString (pr, date.str);
|
||||
|
||||
PR_ExecuteProgram (pr, (func_t) (f - sv_pr_state.pr_functions));
|
||||
PR_PopFrame (&sv_pr_state);
|
||||
|
|
Loading…
Reference in a new issue