]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/writebsp.c
autoexpand: add an alternative way to autoexpand while zeroing the allocated memory
[xonotic/netradiant.git] / tools / quake3 / q3map2 / writebsp.c
index 3fbed1cc64dfb25a1f4a705baf50e9e22aa1d53c..e3b35df1ce0fe96ca6b6a83995a1cc757fcf387d 100644 (file)
@@ -133,7 +133,7 @@ int EmitShader( const char *shader, int *contentFlags, int *surfaceFlags ){
        si = ShaderInfoForShader( shader );
 
        /* emit a new shader */
-       AUTOEXPAND_BY_REALLOC_BSP( Shaders, 1024 );
+       AUTOEXPAND_BY_REALLOC0_BSP( Shaders, 1024 );
 
        numBSPShaders++;
        strcpy( bspShaders[ i ].shader, shader );