Skip to content

Commit 3d9775b

Browse files
committed
Never allow crosshair to be drawn
it doesn't make sense in VR
1 parent 68f41c6 commit 3d9775b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Projects/Android/jni/gzdoom-g3.3mgw_mobile/src/g_statusbar/shared_sbar.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ CUSTOM_CVAR(Bool, hud_aspectscale, false, CVAR_ARCHIVE)
132132
}
133133
}
134134

135-
CVAR (Bool, crosshairon, true, CVAR_ARCHIVE);
135+
CVAR (Bool, crosshairon, false, CVAR_ARCHIVE);
136136
CVAR (Int, crosshair, 0, CVAR_ARCHIVE)
137137
CVAR (Bool, crosshairforce, false, CVAR_ARCHIVE)
138138
CVAR (Color, crosshaircolor, 0xff0000, CVAR_ARCHIVE);
@@ -898,7 +898,8 @@ void DBaseStatusBar::DrawCrosshair ()
898898
double size;
899899
int w, h;
900900

901-
if (!crosshairon)
901+
//Never draw the crosshair in VR - it doesn't make sense!
902+
//if (!crosshairon)
902903
{
903904
return;
904905
}

0 commit comments

Comments
 (0)