Skip to content

Commit

Permalink
Hack back in support for EF_FULLBRIGHT
Browse files Browse the repository at this point in the history
  • Loading branch information
MotoLegacy committed Nov 26, 2024
1 parent 475cc7e commit 6b0a448
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions engine/client/cl_ents.c
Original file line number Diff line number Diff line change
Expand Up @@ -4599,6 +4599,8 @@ void CL_LinkPacketEntities (void)
ent->flags |= RF_NODEPTHTEST;
if (state->effects & EF_NOSHADOW)
ent->flags |= RF_NOSHADOW;
if (state->effects & EF_FULLBRIGHT)
ent->flags |= RF_FULLBRIGHT;
if (state->trans < 0xfe)
{
ent->shaderRGBAf[3] = state->trans/(float)0xfe;
Expand Down

0 comments on commit 6b0a448

Please sign in to comment.