mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 18:01:15 +00:00
[qw] Disable lerping on player model change
This seems to be an ancient bug, but may have been exposed by the recent entity changes (was certainly highlighted by Vulkan)
This commit is contained in:
parent
8f7d6b1d02
commit
82e58dae5f
1 changed files with 5 additions and 1 deletions
|
@ -433,7 +433,11 @@ CL_LinkPlayers (void)
|
|||
}
|
||||
ang[ROLL] = V_CalcRoll (ang, state->pls.es.velocity) * 4.0;
|
||||
|
||||
ent->renderer.model = cl.model_precache[state->pls.es.modelindex];
|
||||
if (ent->renderer.model
|
||||
!= cl.model_precache[state->pls.es.modelindex]) {
|
||||
ent->renderer.model = cl.model_precache[state->pls.es.modelindex];
|
||||
ent->animation.nolerp = 1;
|
||||
}
|
||||
ent->animation.frame = state->pls.es.frame;
|
||||
ent->renderer.skinnum = state->pls.es.skinnum;
|
||||
|
||||
|
|
Loading…
Reference in a new issue