Skip to content

Commit

Permalink
Merge pull request #974 from qw-ctf/resetforcecolormod
Browse files Browse the repository at this point in the history
CLIENT: Reset RF_FORCECOLOURMOD if unmodified.
  • Loading branch information
dsvensson authored Dec 12, 2024
2 parents 3176582 + 5302610 commit e7970c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cl_ents.c
Original file line number Diff line number Diff line change
Expand Up @@ -1067,6 +1067,10 @@ void CL_LinkPacketEntities(void)
ent.r_modelcolor[2] = ((float) state->colourmod[2] * 8.0f) / 256.0f;
ent.renderfx |= RF_FORCECOLOURMOD;
}
else
{
ent.renderfx &= ~RF_FORCECOLOURMOD;
}
#endif

if (ent.model->flags & EF_ROTATE)
Expand Down

0 comments on commit e7970c4

Please sign in to comment.