Remove enum warnings (#5931)

This commit is contained in:
PabstMirror 2017-12-19 12:13:38 -06:00 committed by GitHub
parent 4e60847c95
commit c2d6fa53d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View File

@ -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 {

View File

@ -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];
};