From 7930a947905ac32532b0e5eec8939b5a309654ea Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 11 Jan 2021 23:06:27 +0000 Subject: [PATCH] Fix HUD I just broke.. --- .../Android/jni/d3es-multithread-master/neo/game/Player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Projects/Android/jni/d3es-multithread-master/neo/game/Player.cpp b/Projects/Android/jni/d3es-multithread-master/neo/game/Player.cpp index c8c208c..949afe1 100644 --- a/Projects/Android/jni/d3es-multithread-master/neo/game/Player.cpp +++ b/Projects/Android/jni/d3es-multithread-master/neo/game/Player.cpp @@ -3929,7 +3929,7 @@ void idPlayer::UpdateVrHud() GetViewPos( hudOrigin, hudAxis ); } hudAxis = idAngles( 10.0f, RAD2DEG(atan2(hud_yaw_y, hud_yaw_x)), 0.0f ).ToMat3(); - hudOrigin += hudAxis[0] * vr_hudPosVert.GetFloat(); + hudOrigin += hudAxis[0] * vr_hudPosDist.GetFloat(); hudOrigin += hudAxis[1] * vr_hudPosHorz.GetFloat(); hudOrigin.z += vr_hudPosVert.GetFloat();