mirror of
https://github.com/DrBeef/JKXR.git
synced 2025-02-20 19:02:01 +00:00
Fix FOV on Lady Luck turret
This commit is contained in:
parent
5acadef11e
commit
195cfb8251
2 changed files with 7 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue