]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_brush.h
fixed Mod_Q3BSP_BoxTouchingPVS to handle unvised maps properly
[xonotic/darkplaces.git] / model_brush.h
index 537b6c63124aa625ca7ddaed41f97f4616eedcab..08686dfe87d6e08d376872a7d37e3e53739768ae 100644 (file)
@@ -240,8 +240,8 @@ typedef struct mnode_s
        vec3_t mins;
        vec3_t maxs;
 
+       mplane_t *plane; // != NULL
 // node specific
-       mplane_t *plane;
        struct mnode_s *children[2];
 
        unsigned short firstsurface;
@@ -262,6 +262,7 @@ typedef struct mleaf_s
        vec3_t mins;
        vec3_t maxs;
 
+       mplane_t *plane; // == NULL
 // leaf specific
        // next leaf in pvschain
        struct mleaf_s *pvschain;