FOV fix for remote turrets on JKA

This commit is contained in:
Simon 2023-04-16 22:25:18 +01:00
parent 195cfb8251
commit ccd581c8d0

View file

@ -2202,6 +2202,12 @@ void CG_DrawActiveFrame( int serverTime, stereoFrame_t stereoView ) {
|| vr->remote_turret; || 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; cg.refdef.worldscale = cg_worldScale.value;
bool usingScope = (cg.zoomMode == 2 || cg.zoomMode == 4); bool usingScope = (cg.zoomMode == 2 || cg.zoomMode == 4);