mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Misc - Fix minor macro usage (#8091)
This commit is contained in:
parent
4acfc35e77
commit
5ffcac9c88
@ -21,7 +21,7 @@ params ["_unit"];
|
|||||||
|
|
||||||
private _fnc_check = {
|
private _fnc_check = {
|
||||||
private _position = _unit modelToWorldVisual [0, 0, eyePos _unit select 2];
|
private _position = _unit modelToWorldVisual [0, 0, eyePos _unit select 2];
|
||||||
CHECK_OBJECTS(ARR_5(lineIntersectsWith [_position, _position vectorAdd [0, 0, 10], _unit])) || {CHECK_OBJECTS(_unit nearObjects 7.5)}
|
CHECK_OBJECTS(lineIntersectsWith [ARR_3(_position, _position vectorAdd [ARR_3(0, 0, 10)], _unit)]) || {CHECK_OBJECTS(_unit nearObjects 7.5)}
|
||||||
};
|
};
|
||||||
|
|
||||||
[[], _fnc_check, _unit, QGVAR(inMedicalFacilityCache), IN_MEDICAL_FACILITY_CACHE_EXPIRY] call EFUNC(common,cachedCall);
|
[[], _fnc_check, _unit, QGVAR(inMedicalFacilityCache), IN_MEDICAL_FACILITY_CACHE_EXPIRY] call EFUNC(common,cachedCall);
|
||||||
|
@ -55,7 +55,7 @@ if (_proxyWeaponNeeded || GVAR(useAmmoHandling)) then {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
WARNING("unknown mag %1", _xMag);
|
WARNING_1("unknown mag %1", _xMag);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
} forEach (magazinesAllTurrets _mortar);
|
} forEach (magazinesAllTurrets _mortar);
|
||||||
|
Loading…
Reference in New Issue
Block a user