]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/prtfile.c
patches by jal: fix some warnings, and spawnflags 64 on misc_model to not smooth...
[xonotic/netradiant.git] / tools / quake3 / q3map2 / prtfile.c
index 7108c58973046080aa8a2815e42ebc4638ff1522..2f10c7c0b5b620e279a1370903b8af026198439e 100644 (file)
@@ -65,11 +65,9 @@ void WriteFloat (FILE *f, vec_t v)
 
 void CountVisportals_r(node_t *node)
 {
-       int                     i, s;   
+       int                     s;      
        portal_t        *p;
        winding_t       *w;
-       vec3_t          normal;
-       vec_t           dist;
 
        // decision node
        if (node->planenum != PLANENUM_LEAF) {
@@ -170,7 +168,7 @@ void WritePortalFile_r (node_t *node)
 
 void CountSolidFaces_r (node_t *node)
 {
-       int                     i, s;   
+       int                     s;      
        portal_t        *p;
        winding_t       *w;
 
@@ -273,8 +271,9 @@ NumberLeafs_r
 */
 void NumberLeafs_r (node_t *node, int c)
 {
+#if 0
        portal_t        *p;
-
+#endif
        if ( node->planenum != PLANENUM_LEAF ) {
                // decision node
                node->cluster = -99;