From d89df783c3743abdaa924836b1deb1644ea5ca9c Mon Sep 17 00:00:00 2001 From: divverent Date: Thu, 18 Jun 2009 08:38:25 +0000 Subject: [PATCH] always allocate bspEntData git-svn-id: svn://svn.icculus.org/netradiant/trunk@383 61c419a2-8eb2-4b30-bcec-8cead039b335 --- tools/quake3/q3map2/bspfile_abstract.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/quake3/q3map2/bspfile_abstract.c b/tools/quake3/q3map2/bspfile_abstract.c index ed08b8ca..ef78160f 100644 --- a/tools/quake3/q3map2/bspfile_abstract.c +++ b/tools/quake3/q3map2/bspfile_abstract.c @@ -642,9 +642,11 @@ void UnparseEntities( void ) /* setup */ + AUTOEXPAND_BY_REALLOC(bspEntData, 0, allocatedBSPEntData, 1024); buf = bspEntData; end = buf; *end = 0; + /* run through entity list */ for( i = 0; i < numBSPEntities && i < numEntities; i++ ) -- 2.39.2