Skip to content

Commit

Permalink
Merge pull request #1197 from CBATeam/fixOpticsFFV
Browse files Browse the repository at this point in the history
fix optic tilting in vehicles
  • Loading branch information
commy2 committed Aug 2, 2019
2 parents 37d4943 + 5ff62dc commit b3234ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addons/optics/fnc_gunBank.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Author:
commy2
---------------------------------------------------------------------------- */

if !(cameraOn isKindOf "CAManBase") exitWith {0};

private _unit = [] call CBA_fnc_currentUnit;

private _pelvis = _unit modelToWorldVisualWorld (_unit selectionPosition "Pelvis");
Expand Down

0 comments on commit b3234ea

Please sign in to comment.