mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-24 21:11:03 +00:00
FOV fix for remote turrets on JKA
This commit is contained in:
parent
195cfb8251
commit
ccd581c8d0
1 changed files with 6 additions and 0 deletions
|
@ -2202,6 +2202,12 @@ void CG_DrawActiveFrame( int serverTime, stereoFrame_t stereoView ) {
|
|||
|| vr->remote_turret;
|
||||
}
|
||||
|
||||
//If viewing a remote turret, take the overridden FOV
|
||||
if (vr->remote_turret)
|
||||
{
|
||||
cg.refdef.override_fov = true;
|
||||
}
|
||||
|
||||
cg.refdef.worldscale = cg_worldScale.value;
|
||||
|
||||
bool usingScope = (cg.zoomMode == 2 || cg.zoomMode == 4);
|
||||
|
|
Loading…
Reference in a new issue