]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_brush.c
HalfLife texture transparency fixed, pmodel enhanced (Nehahra).
[xonotic/darkplaces.git] / model_brush.c
index e62b5272bfd0491aa021b5ef6edf59f8ab600660..b3625c792ca52c5a7666d3921e9bab1c26cf9d69 100644 (file)
@@ -597,6 +597,7 @@ void Mod_LoadTexinfo (lump_t *l)
                {
                        out->texture = r_notexture_mip; // checkerboard texture
                        out->flags = 0;
+                       out->texture->transparent = FALSE;
                }
                else
                {
@@ -607,9 +608,8 @@ void Mod_LoadTexinfo (lump_t *l)
                        {
                                out->texture = r_notexture_mip; // texture not found
                                out->flags = 0;
-                       }
-                       else
                                out->texture->transparent = FALSE;
+                       }
                }
        }
 }