]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/writebsp.c
merge branch work back into trunk
[xonotic/netradiant.git] / tools / quake3 / q3map2 / writebsp.c
index 7228189832e63d5a5ea779fcd5d486822724885f..4cdd3a99e7b7c31a3c7c1d982cfbf7a14db73cd0 100644 (file)
@@ -1,6 +1,6 @@
 /* -------------------------------------------------------------------------------
 
-Copyright (C) 1999-2006 Id Software, Inc. and contributors.
+Copyright (C) 1999-2007 id Software, Inc. and contributors.
 For a list of contributors, see the accompanying CONTRIBUTORS file.
 
 This file is part of GtkRadiant.
@@ -157,7 +157,7 @@ void EmitLeaf( node_t *node )
        for( b = node->brushlist; b; b = b->next )
        {
                /* something is corrupting brushes */
-               if( (int) b < 256 )
+               if( (size_t) b < 256 )
                {
                        Sys_Printf( "WARNING: Node brush list corrupted (0x%08X)\n", b );
                        break;
@@ -400,6 +400,8 @@ void EndBSPFile( void )
        char    path[ 1024 ];
        
 
+       Sys_FPrintf( SYS_VRB, "--- EndBSPFile ---\n" );
+
        EmitPlanes();
        
        numBSPEntities = numEntities;