Fix findNearestVehicle dont return BOOL

Fix that findNearestVehicle dont return any time the nearest car
Small Performance Improvement in getSizeItem/handleDestroyed/startUnload
Enhance Some legibility
This commit is contained in:
jokoho48
2015-08-14 18:07:31 +02:00
parent abc732ac35
commit c4ed18f39f
9 changed files with 29 additions and 25 deletions

View File

@ -38,7 +38,8 @@ uiNamespace setvariable [QGVAR(menuDisplay), _display];
lbClear _ctrl;
{
_ctrl lbAdd (getText(configfile >> "CfgVehicles" >> typeOf _x >> "displayName"));
}foreach _loaded;
true
} count _loaded;
_label ctrlSetText format[localize "STR_ACE_Cargo_labelSpace", [GVAR(interactionVehicle)] call DFUNC(getCargoSpaceLeft)];
}, 0, []] call CBA_fnc_addPerFrameHandler;