mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-20 11:03:08 +00:00
Interpolation fix for network prediction
This is a minor fix for interpolation when playing online as predicted movement was not properly having its prev data reset like a real tick would be. This resulted in jittery player sprites in third person.
This commit is contained in:
parent
d9f03863bf
commit
2b697d6c4c
1 changed files with 2 additions and 0 deletions
|
@ -1481,6 +1481,8 @@ void P_PredictPlayer (player_t *player)
|
|||
R_RebuildViewInterpolation(player);
|
||||
|
||||
player->cmd = localcmds[i % LOCALCMDTICS];
|
||||
player->mo->ClearInterpolation();
|
||||
player->mo->ClearFOVInterpolation();
|
||||
P_PlayerThink (player);
|
||||
player->mo->Tick ();
|
||||
|
||||
|
|
Loading…
Reference in a new issue