mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Remove enum warnings (#5931)
This commit is contained in:
parent
4e60847c95
commit
c2d6fa53d4
@ -48,7 +48,6 @@
|
||||
[QGVAR(setHidden), {
|
||||
params ["_object", "_set"];
|
||||
TRACE_2("setHidden EH",_object,_set);
|
||||
INFO("Note: getUnitTrait / camouflageCoef enum error can be ignored [present since Arma 3 v1.78] - IGNORE THIS");
|
||||
private _vis = _object getUnitTrait "camouflageCoef";
|
||||
if (_set > 0) then {
|
||||
if (_vis != 0) then {
|
||||
|
@ -40,7 +40,6 @@ private _absLoad = getNumber (configFile >> "CfgInventoryGlobalVariable" >> "max
|
||||
private _loadCoef = _unit getVariable QGVAR(loadCoef);
|
||||
|
||||
if (isNil "_loadCoef") then {
|
||||
INFO("Note: getUnitTrait / loadCoef enum error can be ignored [present since Arma 3 v1.78] - IGNORE THIS");
|
||||
_loadCoef = _unit getUnitTrait "loadCoef";
|
||||
_unit setVariable [QGVAR(loadCoef), _loadCoef, true];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user