Skip to content

Commit 7fb2a17

Browse files
nk3nnyrautamiekka
andauthored
Update addons/danger/functions/fnc_tacticsAssess.sqf
Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
1 parent 38fc6ff commit 7fb2a17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/danger/functions/fnc_tacticsAssess.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ if !(_enemies isEqualTo [] || {_unitCount < random 4}) then {
153153
&& {((getPosASL _x) select 2) > ((_eyePos select 2) + 15)}
154154
&& {!(terrainIntersectASL [_eyePos vectorAdd [0, 0, 5], eyePos _x])}
155155
};
156-
if (_farHigherTarget != -1) exitWith {
156+
if (_farHigherTarget isNotEqualTo -1) exitWith {
157157
_plan append [TACTICS_SUPPRESS, TACTICS_HIDE, TACTICS_HIDE];
158158
_pos = _unit getHideFrom (_enemies select _farHigherTarget);
159159
};

0 commit comments

Comments
 (0)