diff --git a/Projects/Android/jni/OpenJK/code/cgame/cg_view.cpp b/Projects/Android/jni/OpenJK/code/cgame/cg_view.cpp index f0b48d1..537e4cc 100644 --- a/Projects/Android/jni/OpenJK/code/cgame/cg_view.cpp +++ b/Projects/Android/jni/OpenJK/code/cgame/cg_view.cpp @@ -2259,7 +2259,7 @@ void CG_DrawActiveFrame( int serverTime, stereoFrame_t stereoView ) { //Sniper/E11 scope if (usingScope) { - cg.refdef.viewangles[ROLL] = vr->clientviewangles[ROLL]; + cg.refdef.viewangles[ROLL] = vr->hmdorientation[ROLL]; cg.refdef.viewangles[PITCH] = vr->weaponangles[ANGLES_ADJUSTED][PITCH]; cg.refdef.viewangles[YAW] = vr->clientviewangles[YAW] + vr->weaponangles[ANGLES_ADJUSTED][YAW] + SHORT2ANGLE(cg.snap->ps.delta_angles[YAW]); diff --git a/Projects/Android/jni/OpenJK/codeJK2/cgame/cg_draw.cpp b/Projects/Android/jni/OpenJK/codeJK2/cgame/cg_draw.cpp index b62cc67..9607d01 100644 --- a/Projects/Android/jni/OpenJK/codeJK2/cgame/cg_draw.cpp +++ b/Projects/Android/jni/OpenJK/codeJK2/cgame/cg_draw.cpp @@ -3036,7 +3036,7 @@ void CG_DrawActive( stereoFrame_t stereoView ) { //Sniper/E11 scope if (usingScope) { - cg.refdef.viewangles[ROLL] = vr->clientviewangles[ROLL]; + cg.refdef.viewangles[ROLL] = vr->hmdorientation[ROLL]; cg.refdef.viewangles[PITCH] = vr->weaponangles[ANGLES_ADJUSTED][PITCH]; cg.refdef.viewangles[YAW] = vr->clientviewangles[YAW] + vr->weaponangles[ANGLES_ADJUSTED][YAW] + SHORT2ANGLE(cg.snap->ps.delta_angles[YAW]);