diff --git a/libs/gamecode/pr_debug.c b/libs/gamecode/pr_debug.c index 3ae9a972e..e7bf90a92 100644 --- a/libs/gamecode/pr_debug.c +++ b/libs/gamecode/pr_debug.c @@ -1243,6 +1243,8 @@ PR_PrintStatement (progs_t *pr, dstatement_t *s, int contents) pr_auxfunction_t *aux_func = 0; pr_debug_data_t data; + dstring_clearstr (res->line); + data.pr = pr; data.dstr = res->dstr;