Fix lookback interpolating

# Conflicts:
#	src/p_setup.c
#	src/r_fps.c
This commit is contained in:
toaster 2022-05-22 22:25:17 +01:00
parent 47f3992cef
commit 946beabdf6
2 changed files with 8 additions and 0 deletions

View file

@ -4509,6 +4509,10 @@ boolean P_LoadLevel(boolean fromnetsave, boolean reloadinggamestate)
if (rendermode == render_none || reloadinggamestate)
return true;
R_ResetViewInterpolation(0);
R_ResetViewInterpolation(0);
R_UpdateMobjInterpolators();
// Title card!
G_StartTitleCard();

View file

@ -3593,7 +3593,11 @@ boolean P_MoveChaseCamera(player_t *player, camera_t *thiscam, boolean resetcall
}
if (lookbackdown)
{
P_MoveChaseCamera(player, thiscam, false);
R_ResetViewInterpolation(num + 1);
R_ResetViewInterpolation(num + 1);
}
return (x == thiscam->x && y == thiscam->y && z == thiscam->z && angle == thiscam->aiming);