Use SURF_TRANSPARENT instead SURF_TRANS33 | SURF_TRANS66
This commit is contained in:
parent
ea7f219832
commit
a0745ba023
|
@ -1119,7 +1119,7 @@ R_GetBrushesLighting(void)
|
|||
|
||||
for (k = 0; k < currentmodel->nummodelsurfaces; k++, surf++)
|
||||
{
|
||||
if (surf->texinfo->flags & (SURF_TRANS33 | SURF_TRANS66 | SURF_WARP)
|
||||
if (surf->texinfo->flags & (SURF_TRANSPARENT | SURF_WARP)
|
||||
|| surf->flags & SURF_DRAWTURB || surf->lmchain_frame == r_framecount)
|
||||
{
|
||||
continue; // either not affected by light, or already in the chain
|
||||
|
|
|
@ -827,7 +827,7 @@ rocket_touch(edict_t *ent, edict_t *other, cplane_t *plane, csurface_t *surf)
|
|||
if (!deathmatch->value && !coop->value)
|
||||
{
|
||||
if ((surf) && !(surf->flags &
|
||||
(SURF_WARP | SURF_TRANS33 | SURF_TRANS66 | SURF_FLOWING)))
|
||||
(SURF_WARP | SURF_TRANSPARENT | SURF_FLOWING)))
|
||||
{
|
||||
n = randk() % 5;
|
||||
|
||||
|
|
Loading…
Reference in New Issue