mirror of
https://github.com/nzp-team/dquakeplus.git
synced 2024-11-29 15:11:54 +00:00
double the interpolation disabling distance
This commit is contained in:
parent
42c329fa22
commit
938e7272a4
1 changed files with 1 additions and 1 deletions
|
@ -1268,7 +1268,7 @@ void R_SetupAliasBlendedFrame (int frame, aliashdr_t *paliashdr, entity_t* e)
|
||||||
int distance_from_client = (int)((dist_x) * (dist_x) + (dist_y) * (dist_y)); // no use sqrting, just slows us down.
|
int distance_from_client = (int)((dist_x) * (dist_x) + (dist_y) * (dist_y)); // no use sqrting, just slows us down.
|
||||||
|
|
||||||
// They're too far away from us to care about blending their frames.
|
// They're too far away from us to care about blending their frames.
|
||||||
if (distance_from_client >= 40000) { // 200 * 200
|
if (distance_from_client >= 160000) { // 400 * 400
|
||||||
// Fix them from jumping from last lerp
|
// Fix them from jumping from last lerp
|
||||||
e->pose1 = e->pose2 = paliashdr->frames[frame].firstpose;
|
e->pose1 = e->pose2 = paliashdr->frames[frame].firstpose;
|
||||||
e->frame_interval = 0.1;
|
e->frame_interval = 0.1;
|
||||||
|
|
Loading…
Reference in a new issue