]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
correct q2dheader_t and q3dheader_t to have the correct lump array sizes
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 10 Jan 2006 21:14:06 +0000 (21:14 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 10 Jan 2006 21:14:06 +0000 (21:14 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5894 d7cf8633-e32d-0410-b094-e92efae38249

model_brush.h

index bcb79f103798daa4b2f9b91d465bfee52c2cc9a7..bf44b585eec0432d6431ec7dfcf635ce02076044 100644 (file)
@@ -245,7 +245,7 @@ typedef struct q2dheader_s
 {
        int                     ident;
        int                     version;
 {
        int                     ident;
        int                     version;
-       lump_t          lumps[HEADER_LUMPS];
+       lump_t          lumps[Q2HEADER_LUMPS];
 } q2dheader_t;
 
 typedef struct q2dmodel_s
 } q2dheader_t;
 
 typedef struct q2dmodel_s
@@ -419,7 +419,7 @@ typedef struct q3dheader_s
 {
        int                     ident;
        int                     version;
 {
        int                     ident;
        int                     version;
-       lump_t          lumps[HEADER_LUMPS];
+       lump_t          lumps[Q3HEADER_LUMPS];
 } q3dheader_t;
 
 typedef struct q3dtexture_s
 } q3dheader_t;
 
 typedef struct q3dtexture_s