mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
conform isnil checking: laser
This commit is contained in:
parent
1def9cbcb7
commit
7fe5401f6a
@ -46,7 +46,7 @@ if (!(_intersects isEqualTo [])) then {
|
||||
TRACE_3("", _resultPos, _distance, _intersects);
|
||||
|
||||
#ifdef DRAW_LASER_INFO
|
||||
if !(isNil "_resultPos") then {
|
||||
if (!isNil "_resultPos") then {
|
||||
private _text = [_distance, 4, 0] call CBA_fnc_formatNumber;
|
||||
drawIcon3D ["\a3\ui_f\data\IGUI\Cfg\Cursors\selectover_ca.paa", [0, 1, 0, 1], ASLtoAGL _resultPos, 0.5, 0.5, 0, _text, 0.4, 0.025, "TahomaB"];
|
||||
drawLine3D [ASLtoAGL _posASL, ASLtoAGL _resultPos, [0,1,0,1]];
|
||||
|
Loading…
Reference in New Issue
Block a user