]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_brush.c
Get client velocity from cl.velocity rather than cl.movement_velocity for bob, this...
[xonotic/darkplaces.git] / model_brush.c
index 795742544cc4da77c4e10c6480767d8830505045..253edee91523b2654a1b9e9919db7dc7f209f8c4 100644 (file)
@@ -3710,9 +3710,9 @@ static void Mod_Q3BSP_LoadTextures(lump_t *l)
                                                                                        Con_Printf(" %s", parameter[j]);
                                                                                Con_Print("\n");
                                                                        }
-                                                                       if (passnumber == 0 && numparameters >= 1 && (flags & Q3SURFACEPARM_TRANS))
+                                                                       if (passnumber == 0 && numparameters >= 1)
                                                                        {
-                                                                               if (!strcasecmp(parameter[0], "blendfunc"))
+                                                                               if (!strcasecmp(parameter[0], "blendfunc") && (flags & Q3SURFACEPARM_TRANS))
                                                                                {
                                                                                        if (numparameters == 2 && !strcasecmp(parameter[1], "add"))
                                                                                                flags2 |= Q3TEXTUREFLAG_ADDITIVE;