From 912f3fe1b66c6bb4fb37fd3e8b7b09ee5eb9890f Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 28 Oct 2002 14:24:33 +0000 Subject: [PATCH] check for negative pr_depth in PR_Crash just to be obsessive git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2573 d7cf8633-e32d-0410-b094-e92efae38249 --- pr_exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pr_exec.c b/pr_exec.c index 40cceb02..7e5388fe 100644 --- a/pr_exec.c +++ b/pr_exec.c @@ -243,7 +243,7 @@ void PR_Profile_f (void) void PR_Crash(void) { int i; - if (!pr_depth) + if (pr_depth < 1) { // kill the stack just to be sure pr_depth = 0; -- 2.39.2