Do not end locked up in weapon zoomed state on level end and in pause menu

This commit is contained in:
Petr Bartos 2022-04-05 20:27:35 +02:00
parent dc7c01667d
commit 9a88b190a9

View file

@ -466,6 +466,7 @@ static void IN_VRController( qboolean isRightController, ovrTracking remoteTrack
if (vr.virtual_screen || cl.snap.ps.pm_type == PM_INTERMISSION)
{
vr.weapon_zoomed = qfalse;
if (vr.menuCursorX && vr.menuCursorY)
{
float yaw;