From 053a016f5cc172ecd72edf3c06197378a5537429 Mon Sep 17 00:00:00 2001 From: divverent Date: Sat, 4 Apr 2009 21:13:45 +0000 Subject: [PATCH] fix decompiling crash git-svn-id: svn://svn.icculus.org/netradiant/trunk@245 61c419a2-8eb2-4b30-bcec-8cead039b335 --- tools/quake3/q3map2/convert_map.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/quake3/q3map2/convert_map.c b/tools/quake3/q3map2/convert_map.c index 8e1a143e..03933a54 100644 --- a/tools/quake3/q3map2/convert_map.c +++ b/tools/quake3/q3map2/convert_map.c @@ -477,6 +477,7 @@ static void ConvertModel( FILE *f, bspModel_t *model, int modelNum, vec3_t origi /* convert bsp planes to map planes */ nummapplanes = numBSPPlanes; + AUTOEXPAND_BY_REALLOC(mapplanes, nummapplanes, allocatedmapplanes, 1024); for( i = 0; i < numBSPPlanes; i++ ) { VectorCopy( bspPlanes[ i ].normal, mapplanes[ i ].normal ); -- 2.39.2