]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
check for negative pr_depth in PR_Crash just to be obsessive
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 28 Oct 2002 14:24:33 +0000 (14:24 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 28 Oct 2002 14:24:33 +0000 (14:24 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2573 d7cf8633-e32d-0410-b094-e92efae38249

pr_exec.c

index 40cceb0233b0121e8f32d872c1888721bea2731a..7e5388fe24b49847914074ec743098511d61c590 100644 (file)
--- 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;