Renamed mod_brush to mod_brushq1.
authortomaz <tomaz@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 17 Sep 2004 21:56:13 +0000 (21:56 +0000)
committertomaz <tomaz@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 17 Sep 2004 21:56:13 +0000 (21:56 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4518 d7cf8633-e32d-0410-b094-e92efae38249

model_brush.c
model_shared.c
model_shared.h

index 2857bc8..23d2a48 100644 (file)
@@ -2889,7 +2889,7 @@ void Mod_Q1BSP_Load(model_t *mod, void *buffer)
        msurface_t *surf;
        int numshadowmeshtriangles;
 
-       mod->type = mod_brush;
+       mod->type = mod_brushq1;
 
        header = (dheader_t *)buffer;
 
index 1db1789..3420ae5 100644 (file)
@@ -202,7 +202,7 @@ static void mod_newmap(void)
 
        for (i=0; i<MAX_MOD_KNOWN; i++)
        {
-               if (mod_known[i].name[0] && mod_known[i].type == mod_brush)
+               if (mod_known[i].name[0] && mod_known[i].type == mod_brushq1)
                {
                        for (surfnum=0, surf=mod_known[i].brushq1.surfaces; surfnum<mod_known[i].brushq1.numsurfaces;surfnum++, surf++)
                        {
index f7f9d49..779da1f 100644 (file)
@@ -30,7 +30,7 @@ m*_t structures are in-memory
 
 */
 
-typedef enum {mod_invalid, mod_brush, mod_sprite, mod_alias, mod_brushq2, mod_brushq3} modtype_t;
+typedef enum {mod_invalid, mod_brushq1, mod_sprite, mod_alias, mod_brushq2, mod_brushq3} modtype_t;
 
 typedef struct animscene_s
 {