Skip to content

Commit

Permalink
FTE networking: explicitly mark updated entities (#446)
Browse files Browse the repository at this point in the history
Fixes sv_freezenonclients
  • Loading branch information
temx committed Mar 27, 2022
1 parent e88410b commit 5caae12
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Quake/cl_parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,10 @@ static void CLFTE_ParseEntitiesUpdate (void)
else if (ent->update_type)
{ // simple update
CLFTE_ReadDelta (newnum, &ent->netstate, &ent->netstate, &ent->baseline);
if (ent->msgtime == cl.mtime[0])
// we did get an update for this entity, force processing by CL_EntitiesDeltaed
// even if qcvm time is frozen (sv_freezenonclients support)
ent->msgtime = cl.mtime[1];
}
else
{ // we had no previous copy of this entity...
Expand Down

0 comments on commit 5caae12

Please sign in to comment.