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

This commit is contained in:
Alibek Omarov 2022-02-24 05:45:41 +03:00
parent f0783ddee1
commit 7821f425e7
1 changed files with 1 additions and 1 deletions

View File

@ -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;