View fixes when predicting

View interpolation paths are now reset properly when predicting, fixing portals. Teleporters disabling view interpolation is now handled before every movement instead of only once at the start of predicting. Enabled FoV interpolation when playing online.
This commit is contained in:
Boondorl 2024-04-25 16:10:00 -04:00 committed by Ricardo Luís Vaz Silva
commit ca95e18742
2 changed files with 12 additions and 13 deletions

View file

@ -3662,10 +3662,6 @@ void AActor::SetViewAngle(DAngle ang, int fflags)
double AActor::GetFOV(double ticFrac)
{
// [B] Disable interpolation when playing online, otherwise it gets vomit inducing
if (netgame)
return player ? player->FOV : CameraFOV;
double fov;
if (player)
{