XR: rename cvar debug_fakevr to xr_debug_fakeinputs

This commit is contained in:
Marco Cawthorne 2023-06-15 11:39:55 -07:00
parent 9b526ecbd5
commit 3b99cf7419
Signed by: eukara
GPG key ID: CE2032F0A2882A22
2 changed files with 2 additions and 1 deletions

View file

@ -25,3 +25,4 @@ void XR_UpdateView(entity);
var float autocvar_xr_roomscale = 1.0f;
var float autocvar_xr_viewheight = -48.0f;
var bool autocvar_xr_debug_fakeinputs = false;

View file

@ -95,7 +95,7 @@ XR_InputFrame(entity ePlayer)
if (!pl.m_xrSpace)
return;
if (autocvar(debug_fakevr, 0)) {
if (autocvar_xr_debug_fakeinputs) {
input_head_status = (XR_STATUS_ORG | XR_STATUS_ANG);
input_left_status = (XR_STATUS_ORG | XR_STATUS_ANG);
input_right_status = (XR_STATUS_ORG | XR_STATUS_ANG);