From: havoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Date: Tue, 12 Sep 2006 04:35:31 +0000 (+0000)
Subject: increased PRVM_MAX_STACK_DEPTH and PRVM_LOCALSTACK_SIZE at div0's request to reduce... 
X-Git-Tag: xonotic-v0.1.0preview~3808
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=dcd654cde72b6b3d93e54a9199ad362065a07397;p=xonotic%2Fdarkplaces.git

increased PRVM_MAX_STACK_DEPTH and PRVM_LOCALSTACK_SIZE at div0's request to reduce qc crashes with recursive rocket explosions in Nexuiz


git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6581 d7cf8633-e32d-0410-b094-e92efae38249
---

diff --git a/progsvm.h b/progsvm.h
index 94b0387e..1d734dc0 100644
--- a/progsvm.h
+++ b/progsvm.h
@@ -245,8 +245,8 @@ typedef struct prvm_builtin_mem_s
 #define PRVM_FE_CHAIN		4
 #define PRVM_OP_STATE		1
 
-#define	PRVM_MAX_STACK_DEPTH		256
-#define	PRVM_LOCALSTACK_SIZE		2048
+#define	PRVM_MAX_STACK_DEPTH		1024
+#define	PRVM_LOCALSTACK_SIZE		16384
 
 typedef void (*prvm_builtin_t) (void);