NX/VITA: Fix Sniper FOV not resetting

This commit is contained in:
Ian 2023-09-06 20:06:35 -04:00
parent 4899ea3d2b
commit 99b485b6a7

View file

@ -2145,6 +2145,11 @@ void SCR_UpdateScreen (void)
} }
else if (cl.stats[STAT_ZOOM] == 2) else if (cl.stats[STAT_ZOOM] == 2)
{ {
if (!original_fov)
{
original_fov = scr_fov.value;
original_view_fov = scr_fov_viewmodel.value;
}
Cvar_SetValue ("fov", 30); Cvar_SetValue ("fov", 30);
Cvar_SetValue ("r_viewmodel_fov", 30); Cvar_SetValue ("r_viewmodel_fov", 30);
zoomin_time = 0; zoomin_time = 0;