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 bcb79f1..bf44b58 100644 (file)
@@ -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