]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
expanded string table offset table from 1024 to 65536, there must be a better solutio...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 15 Jan 2003 13:05:32 +0000 (13:05 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 15 Jan 2003 13:05:32 +0000 (13:05 +0000)
this fixes savegame loading (which allocates lots of negative string offsets)

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

pr_exec.c

index 05e366d243fbd5680abea14175122e03033bbdf9..259b5cbd9ac4256a0abb720c8942d17fe9e8a849 100644 (file)
--- a/pr_exec.c
+++ b/pr_exec.c
@@ -428,7 +428,7 @@ chooseexecprogram:
 }
 
 // LordHavoc: grabbed these from QWSV, works around a gcc 2.95.3 compiler bug
-#define MAX_PRSTR 1024
+#define MAX_PRSTR 65536
 static char *pr_strtbl[MAX_PRSTR];
 static int num_prstr;