From a8c3fa8ffcc0b0ebf5b1061057a26fec358fc688 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 21 May 2002 21:14:32 +0000 Subject: [PATCH] correct the function names in PR_EnterFunction and PR_LeaveFunction --- libs/gamecode/engine/pr_exec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/gamecode/engine/pr_exec.c b/libs/gamecode/engine/pr_exec.c index 0c6dda530..06388cd8c 100644 --- a/libs/gamecode/engine/pr_exec.c +++ b/libs/gamecode/engine/pr_exec.c @@ -196,7 +196,7 @@ PR_EnterFunction (progs_t * pr, dfunction_t *f) // save off any locals that the new function steps on c = f->locals; if (pr->localstack_used + c > LOCALSTACK_SIZE) - PR_RunError (pr, "PR_ExecuteProgram: locals stack overflow"); + PR_RunError (pr, "PR_EnterFunction: locals stack overflow"); memcpy (&pr->localstack[pr->localstack_used], &pr->pr_globals[f->parm_start], @@ -234,7 +234,7 @@ PR_LeaveFunction (progs_t * pr) c = pr->pr_xfunction->locals; pr->localstack_used -= c; if (pr->localstack_used < 0) - PR_RunError (pr, "PR_ExecuteProgram: locals stack underflow"); + PR_RunError (pr, "PR_LeaveFunction: locals stack underflow"); memcpy (&pr->pr_globals[pr->pr_xfunction->parm_start], &pr->localstack[pr->localstack_used],