Fix FOV on Lady Luck turret

This commit is contained in:
Simon 2023-04-16 22:14:25 +01:00
parent 5acadef11e
commit 195cfb8251
2 changed files with 7 additions and 1 deletions

View file

@ -143,7 +143,7 @@ void VR_SetHMDOrientation(float pitch, float yaw, float roll)
//Keep this for our records
VectorCopy(vr.hmdorientation, vr.hmdorientation_last);
if (!vr.third_person && !vr.remote_npc){
if (!vr.third_person && !vr.remote_npc && !vr.remote_turret){
VectorCopy(vr.hmdorientation, vr.hmdorientation_first);
}

View file

@ -3012,6 +3012,12 @@ void CG_DrawActive( stereoFrame_t stereoView ) {
AnglesToAxis(cg.refdef.viewangles, cg.refdef.viewaxis);
}
//If viewing a remote turret, take the overridden FOV
if (vr->remote_turret)
{
cg.refdef.override_fov = true;
}
//Controlling an NPC that isn't a droid
if (vr->remote_npc &&
!vr->remote_droid)