mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Changes as discussed here https://github.com/acemod/ACE3/pull/9728#discussion_r1453104308
This commit is contained in:
parent
7aa17aa91b
commit
8dd76d1ba6
@ -65,7 +65,7 @@ if (_zIndex < 5) then {
|
||||
while {count _nlos != count _excludes && {_c < (count _nlos)}} do {
|
||||
scopeName "mainSearch";
|
||||
{
|
||||
if (!(_forEachIndex in _excludes)) then {
|
||||
if !(_forEachIndex in _excludes) then {
|
||||
private _index = _buckets pushBack [_x, [_x]];
|
||||
_excludes pushBack _forEachIndex;
|
||||
_bucketPos = _x;
|
||||
@ -74,7 +74,7 @@ if (_zIndex < 5) then {
|
||||
};
|
||||
} forEach _nlos;
|
||||
{
|
||||
if (!(_forEachIndex in _excludes)) then {
|
||||
if !(_forEachIndex in _excludes) then {
|
||||
_testPos = _x;
|
||||
if (_testPos vectorDistanceSqr _bucketPos <= 30) then {
|
||||
_bucketList pushBack _x;
|
||||
|
@ -32,7 +32,7 @@ if (_convArray isEqualTo []) exitWith {
|
||||
private _errors = 0;
|
||||
{
|
||||
private _ammo = _x;
|
||||
if (!(_ammo isEqualType "")) then {
|
||||
if !(_ammo isEqualType "") then {
|
||||
INFO_1("Improper ammo string at index %1", _forEachIndex);
|
||||
INC(_errors);
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user