Browse Source

engine: client: position history indexes can't be negative, use unsigned with them

pull/2/head
Alibek Omarov 2 years ago
parent
commit
7821f425e7
  1. 2
      engine/client/cl_frame.c

2
engine/client/cl_frame.c

@ -349,7 +349,7 @@ find two timestamps @@ -349,7 +349,7 @@ find two timestamps
qboolean CL_FindInterpolationUpdates( cl_entity_t *ent, float targettime, position_history_t **ph0, position_history_t **ph1 )
{
qboolean extrapolate = true;
int i, i0, i1, imod;
uint i, i0, i1, imod;
float at;
imod = ent->current_position;

Loading…
Cancel
Save