Skip to content

Commit

Permalink
Update addons/markinglaser/functions/fnc_renderPFH.sqf
Browse files Browse the repository at this point in the history
Co-authored-by: Jouni Järvinen <[email protected]>
  • Loading branch information
PabstMirror and rautamiekka authored Nov 10, 2024
1 parent 0b82ba5 commit db62462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/markinglaser/functions/fnc_renderPFH.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ if (((currentVisionMode focusOn) != 1) || {EGVAR(laser,laserEmitters) isEqualTo
drawIcon3D ["\a3\ui_f\data\IGUI\Cfg\Cursors\select_target_ca.paa", [1,0,1,1], (ASLToAGL _laserPosASL), 0.5, 0.5, 0, "Origin", 0.5, 0.025, "TahomaB"];
#endif

// If our camera is the laser source, offset it just a a bit so it isn't dead center
// If our camera is the laser source, offset it just a bit so it isn't dead center
if (((AGLToASL positionCameraToWorld [0,0,0]) distance _laserPosASL) < 0.09) then {
_laserPosASL = AGLToASL positionCameraToWorld [-0.02, -0.05, 0];
};
Expand Down

0 comments on commit db62462

Please sign in to comment.