From 02de92abb07e776a4efe9ec2e13a26f47b4337fb Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 13 Jul 2012 11:43:37 +0900 Subject: [PATCH] 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:) --- qw/source/sv_pr_qwe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qw/source/sv_pr_qwe.c b/qw/source/sv_pr_qwe.c index e7cecdb70..bdf60e69e 100644 --- a/qw/source/sv_pr_qwe.c +++ b/qw/source/sv_pr_qwe.c @@ -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);