]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/shaders.c
ABToSVK commit
[xonotic/netradiant.git] / tools / quake3 / q3map2 / shaders.c
index a0988938374f91075b58fcfc4c002798178257a4..24e97f0096123d027c35e4d44eccb92ef1cef30f 100644 (file)
@@ -338,12 +338,13 @@ void WriteMapShaderFile( void )
 
                /* print it to the file */
                fprintf( file, "%s%s\n", si->shader, si->shaderText );
-               //%     Sys_Printf( "%s%s\n", si->shader, si->shaderText ); /* FIXME: remove debugging code */
+               //Sys_Printf( "%s%s\n", si->shader, si->shaderText ); /* FIXME: remove debugging code */
                
                Sys_FPrintf( SYS_VRB, "." );
        }
        
        /* close the shader */
+       fflush( file );
        fclose( file );
        
        Sys_FPrintf( SYS_VRB, "\n" );