mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-18 19:10:37 +00:00
engine: client: position history indexes can't be negative, use unsigned with them
This commit is contained in:
parent
f0783ddee1
commit
7821f425e7
@ -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 CL_FindInterpolationUpdates( cl_entity_t *ent, float targettime, position_history_t **ph0, position_history_t **ph1 )
|
||||||
{
|
{
|
||||||
qboolean extrapolate = true;
|
qboolean extrapolate = true;
|
||||||
int i, i0, i1, imod;
|
uint i, i0, i1, imod;
|
||||||
float at;
|
float at;
|
||||||
|
|
||||||
imod = ent->current_position;
|
imod = ent->current_position;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user