]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_brush.h
fix a typo in vid_conwidth declaration
[xonotic/darkplaces.git] / model_brush.h
index 7fe0a591d82325360ae24f4d966ecfe8e61d2435..bf44b585eec0432d6431ec7dfcf635ce02076044 100644 (file)
@@ -134,7 +134,7 @@ typedef struct mleaf_s
        int *firstleafsurface;
        int numleafbrushes; // q3bsp
        int *firstleafbrush; // q3bsp
-       qbyte ambient_sound_level[NUM_AMBIENTS]; // q1bsp
+       unsigned char ambient_sound_level[NUM_AMBIENTS]; // q1bsp
        int contents; // q1bsp: // TODO: remove (only used temporarily during loading when making collision hull 0)
        int portalmarkid; // q1bsp // used by see-polygon-through-portals visibility checker
 }
@@ -245,7 +245,7 @@ typedef struct q2dheader_s
 {
        int                     ident;
        int                     version;
-       lump_t          lumps[HEADER_LUMPS];
+       lump_t          lumps[Q2HEADER_LUMPS];
 } q2dheader_t;
 
 typedef struct q2dmodel_s
@@ -419,7 +419,7 @@ typedef struct q3dheader_s
 {
        int                     ident;
        int                     version;
-       lump_t          lumps[HEADER_LUMPS];
+       lump_t          lumps[Q3HEADER_LUMPS];
 } q3dheader_t;
 
 typedef struct q3dtexture_s