fix a nasty bug in QSG support where the wrong flag was getting set for

frame number > 255
This commit is contained in:
Bill Currie 2005-04-27 07:00:02 +00:00
parent c4feb0e0d6
commit 74c0d0fe21

View file

@ -500,7 +500,7 @@ SV_WritePlayersToClient (client_t *client, edict_t *clent, byte *pvs,
&& !VectorIsZero (SVvector (ent, colormod)))
qf_bits |= PF_COLORMOD;
if ((int) SVfloat (ent, frame) > 255)
qf_bits |= PF_EFFECTS2;
qf_bits |= PF_FRAME2;
if (qf_bits)
pflags |= PF_QF;
}