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:
Bill Currie 2012-07-13 11:43:37 +09:00
parent 2dea74ce91
commit 02de92abb0

View file

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