mirror of
https://github.com/nzp-team/quakespasm.git
synced 2025-02-21 10:50:54 +00:00
NX/VITA: Fix Sniper FOV not resetting
This commit is contained in:
parent
4899ea3d2b
commit
99b485b6a7
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue