mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Merge pull request #2126 from F507DMT/patch-19
Update fn_inAngleSector.sqf - private fix
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
// Revision History:
|
// Revision History:
|
||||||
// 09/01/08 0.1 - First cut VBS2
|
// 09/01/08 0.1 - First cut VBS2
|
||||||
//------------------
|
//------------------
|
||||||
private["_r","_dir1"];
|
private["_small","_large","_xpos","_ypos","_dir2","_dir3"];
|
||||||
|
|
||||||
_r = false;
|
_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};
|
if ((_dir1 >= _small && _dir1 <= _large) || (_dir2 >= _small && _dir2 <= _large) || (_dir3 >= _small && _dir3 <= _large)) then {_r = true};
|
||||||
|
|
||||||
_r
|
_r
|
||||||
|
|||||||
Reference in New Issue
Block a user