Merge pull request #3003 from acemod/tweaklasersize

tweak size of laserpointer - release
This commit is contained in:
commy2 2015-12-10 15:27:45 +01:00
commit f64f4f4c4b

View File

@ -81,7 +81,7 @@ _camPos = AGLToASL _camPos;
if (terrainIntersectASL [_camPos, _pL2]) exitWith {};
if (lineIntersects [_camPos, _pL2]) exitWith {};
private _size = 2 * (_range - (positionCameraToWorld [0,0,0] vectorDistance _pL)) / _range;
private _size = 2 * sqrt (1 / _distance) * (call EFUNC(common,getZoom));
drawIcon3D [
format ["\a3\weapons_f\acc\data\collimdot_%1_ca.paa", ["red", "green"] select _isGreen],