mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-26 14:01:26 +00:00
Fix view in pause menu when using fake 6DoF
This commit is contained in:
parent
285870c353
commit
2ee4cf4c36
1 changed files with 2 additions and 2 deletions
|
@ -745,7 +745,7 @@ static int CG_CalcViewValues( ) {
|
|||
VectorCopy(cg.refdef.vieworg, cg.vr_vieworigin);
|
||||
}
|
||||
|
||||
if (vr->use_fake_6dof && cg.stereoView == STEREO_LEFT)
|
||||
if (vr->use_fake_6dof && cg.stereoView == STEREO_LEFT && !vr->virtual_screen)
|
||||
{
|
||||
vec3_t weaponorigin, weaponangles;
|
||||
CG_CalculateVRWeaponPosition(weaponorigin, weaponangles);
|
||||
|
@ -807,7 +807,7 @@ static int CG_CalcViewValues( ) {
|
|||
}
|
||||
|
||||
// position eye relative to origin
|
||||
if (vr->use_fake_6dof)
|
||||
if (vr->use_fake_6dof && !vr->virtual_screen)
|
||||
{
|
||||
if (vr->weapon_zoomed) {
|
||||
//If we are zoomed, then we use the refdefViewANgles (which are the weapon angles)
|
||||
|
|
Loading…
Reference in a new issue