X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=tools%2Fquake3%2Fq3map2%2Fwritebsp.c;fp=tools%2Fquake3%2Fq3map2%2Fwritebsp.c;h=5321d068e755d910ea042d058007239320ca6503;hb=f8bfc8d1dfd29781a1e71a0943144363d96a1246;hp=106e618f23ae88158f8562106820783dca90bc78;hpb=3a7c77d7202273945fa121af4fba74c18423f3c0;p=xonotic%2Fnetradiant.git diff --git a/tools/quake3/q3map2/writebsp.c b/tools/quake3/q3map2/writebsp.c index 106e618f..5321d068 100644 --- a/tools/quake3/q3map2/writebsp.c +++ b/tools/quake3/q3map2/writebsp.c @@ -388,6 +388,7 @@ void BeginBSPFile( void ) /* ydnar: gs mods: set the first 6 drawindexes to 0 1 2 2 1 3 for triangles and quads */ numBSPDrawIndexes = 6; + AUTOEXPAND_BY_REALLOC_BSP(DrawIndexes, 1024); bspDrawIndexes[ 0 ] = 0; bspDrawIndexes[ 1 ] = 1; bspDrawIndexes[ 2 ] = 2;