]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/surface_extra.c
last minute fix to save legacy Makefile life one more time
[xonotic/netradiant.git] / tools / quake3 / q3map2 / surface_extra.c
index 676896e4ceb3b36d13099966c00619aa37f56c55..93ee30ecfda37e93651f98fb651a11ffc9dd33bd 100644 (file)
@@ -332,12 +332,12 @@ void LoadSurfaceExtraFile( const char *surfaceFilePath ){
        Sys_Printf( "Loading %s\n", surfaceFilePath );
        size = LoadFile( surfaceFilePath, (void**) &buffer );
        if ( size <= 0 ) {
-               Sys_Printf( "WARNING: Unable to find surface file %s, using defaults.\n", surfaceFilePath );
+               Sys_FPrintf( SYS_WRN, "WARNING: Unable to find surface file %s, using defaults.\n", surfaceFilePath );
                return;
        }
 
        /* parse the file */
-       ParseFromMemory( (char *) buffer, size );
+       ParseFromMemory( (char*) buffer, size );
 
        /* tokenize it */
        while ( 1 )