From 2a633e331f83e0ea7f4c4e8490ec158914f3ca2c Mon Sep 17 00:00:00 2001 From: F507DMT <12347771234@mail.ru> Date: Wed, 21 Apr 2021 22:36:05 +0600 Subject: [PATCH] Update fn_inAngleSector.sqf private fix --- SQF/dayz_code/compile/fn_inAngleSector.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/compile/fn_inAngleSector.sqf b/SQF/dayz_code/compile/fn_inAngleSector.sqf index 8116b3b7a..242d75bba 100644 --- a/SQF/dayz_code/compile/fn_inAngleSector.sqf +++ b/SQF/dayz_code/compile/fn_inAngleSector.sqf @@ -15,7 +15,7 @@ // Revision History: // 09/01/08 0.1 - First cut VBS2 //------------------ -private["_r","_dir1"]; +private["_small","_large","_xpos","_ypos","_dir2","_dir3"]; _r = false; @@ -34,4 +34,4 @@ _dir3 = _dir1 + 360; if ((_dir1 >= _small && _dir1 <= _large) || (_dir2 >= _small && _dir2 <= _large) || (_dir3 >= _small && _dir3 <= _large)) then {_r = true}; -_r \ No newline at end of file +_r