Skip to content

Commit

Permalink
Merge pull request #1023 from Vdauphin/FIX-mil_patrol_rock
Browse files Browse the repository at this point in the history
FIX: Military patrol can spawn inside rock
  • Loading branch information
Vdauphin authored Jan 11, 2021
2 parents f164e26 + 8a975bb commit f7784be
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,9 @@ btc_military_id = btc_military_id + 1;

switch (_random) do {
case 1 : {
private _n_units = 5 + (round random 8);
_pos = [_pos, 0, 50, 10, false] call btc_fnc_findsafepos;
_pos = [_pos, 0, 150, 10, false] call btc_fnc_findsafepos;

[_group, _pos, _n_units] call btc_fnc_mil_createUnits;
[_group, _pos, 5 + (round random 8)] call btc_fnc_mil_createUnits;
};
case 2 : {
private _veh_type = "";
Expand Down

0 comments on commit f7784be

Please sign in to comment.