Turn off Quake Intensity by default for VR

This commit is contained in:
Simon 2020-04-13 22:42:15 +01:00
parent 2f8d200246
commit 58ac534ab6

View file

@ -106,7 +106,7 @@ CVAR (Bool, r_drawvoxels, true, 0)
CVAR (Bool, r_drawplayersprites, true, 0) // [RH] Draw player sprites? CVAR (Bool, r_drawplayersprites, true, 0) // [RH] Draw player sprites?
CVAR(Int, r_PlayerSprites3DMode, 0, CVAR_ARCHIVE); CVAR(Int, r_PlayerSprites3DMode, 0, CVAR_ARCHIVE);
CVAR(Float, gl_fatItemWidth, 0.5f, CVAR_ARCHIVE); CVAR(Float, gl_fatItemWidth, 0.5f, CVAR_ARCHIVE);
CUSTOM_CVAR(Float, r_quakeintensity, 1.0f, CVAR_ARCHIVE | CVAR_GLOBALCONFIG) CUSTOM_CVAR(Float, r_quakeintensity, 0.0f, CVAR_ARCHIVE | CVAR_GLOBALCONFIG) // Defaulted to 0 for VR
{ {
if (self < 0.f) self = 0.f; if (self < 0.f) self = 0.f;
else if (self > 1.f) self = 1.f; else if (self > 1.f) self = 1.f;