Merge branch 'master' into medical-adjustments

This commit is contained in:
Glowbal 2015-08-26 09:10:45 +02:00
commit 3acfc4d2a3
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ _totalWeight = 0;
// Cycle through all item types with their assigned config paths. // Cycle through all item types with their assigned config paths.
{ {
_x params["_items","_getConfigCode"]; _x params["_items","_getConfigCode"];
_items params ["_item", "_count"] _items params ["_item", "_count"];
// Cycle through all items and read their mass out of the config. // Cycle through all items and read their mass out of the config.
{ {
// Multiply mass with amount of items and add the mass to the total weight. // Multiply mass with amount of items and add the mass to the total weight.

View File

@ -26,7 +26,7 @@ if (getNumber (_config >> QGVAR(canDrag)) == 1) then {
[_object, true, _position, _direction] call FUNC(setDraggable); [_object, true, _position, _direction] call FUNC(setDraggable);
}; };
if (getNumber (_config >> QGVAR(canCarry)) == 1) then if (getNumber (_config >> QGVAR(canCarry)) == 1) then {
_position = getArray (_config >> QGVAR(carryPosition)); _position = getArray (_config >> QGVAR(carryPosition));
_direction = getNumber (_config >> QGVAR(carryDirection)); _direction = getNumber (_config >> QGVAR(carryDirection));