Skip to content

Commit

Permalink
Use ARR_2 to keep the preprocessor happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
Killswitch00 committed Jul 2, 2016
1 parent 96718c8 commit 7ccd231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/common/fnc_headDir.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ if !(_offset isEqualTo "") then {
#ifndef LINUX_BUILD
ADD(_diff,_unit getDir ([_offset] call CBA_fnc_getPos));
#else
ADD(_diff,[_unit, [_offset] call CBA_fnc_getPos] call BIS_fnc_dirTo);
ADD(_diff,[ARR_2(_unit,[_offset] call CBA_fnc_getPos)] call BIS_fnc_dirTo);
#endif
};
if (_diff < 0) then {
Expand Down

0 comments on commit 7ccd231

Please sign in to comment.