- Make view angles interpolate on a separate flag to the one that forces interpolation for the entire frame.

* As view angles are an offset, there's no reason why these cannot lerp separately.
This commit is contained in:
Mitchell Richters 2022-12-02 13:13:28 +11:00 committed by Christoph Oelckers
commit 9f9c1eb18a
6 changed files with 19 additions and 13 deletions

View file

@ -1258,6 +1258,7 @@ void P_PlayerThink (player_t *player)
player->original_cmd = cmd->ucmd;
// Don't interpolate the view for more than one tic
player->cheats &= ~CF_INTERPVIEW;
player->cheats &= ~CF_INTERPVIEWANGLES;
player->mo->FloatVar("prevBob") = player->bob;
IFVIRTUALPTRNAME(player->mo, NAME_PlayerPawn, PlayerThink)