Added interpolation to view position

This commit is contained in:
Boondorl 2024-03-01 11:15:17 -05:00 committed by Rachael Alexanderson
commit 6b7065899d
4 changed files with 26 additions and 9 deletions

View file

@ -1278,6 +1278,7 @@ void P_PlayerThink (player_t *player)
player->cheats &= ~CF_INTERPVIEWANGLES;
player->cheats &= ~CF_SCALEDNOLERP;
player->cheats &= ~CF_NOFOVINTERP;
player->cheats &= ~CF_NOVIEWPOSINTERP;
player->mo->FloatVar("prevBob") = player->bob;
IFVIRTUALPTRNAME(player->mo, NAME_PlayerPawn, PlayerThink)