mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Remove weight workaround fully
This commit is contained in:
parent
68738316c2
commit
ac3b7e3486
@ -30,14 +30,6 @@ if (!GVAR(skipContainerWeight)) then {
|
|||||||
_weight = _weight + (_object getVariable [QGVAR(originalMass), getMass _object]);
|
_weight = _weight + (_object getVariable [QGVAR(originalMass), getMass _object]);
|
||||||
};
|
};
|
||||||
|
|
||||||
// Fixed in https://feedback.bistudio.com/T167469 on 2.16 profiling branch and for 2.18 stable
|
|
||||||
if ((productVersion select 3) < 152017) then {
|
|
||||||
{
|
|
||||||
_x params ["", "_container"];
|
|
||||||
_weight = _weight - (loadAbs _container);
|
|
||||||
} forEach (everyContainer _object);
|
|
||||||
};
|
|
||||||
|
|
||||||
// Mass in Arma isn't an exact amount but rather a volume/weight value
|
// Mass in Arma isn't an exact amount but rather a volume/weight value
|
||||||
// This attempts to work around that by making it a usable value (sort of)
|
// This attempts to work around that by making it a usable value (sort of)
|
||||||
GVAR(weightCoefficient) * _weight * 0.5 // return
|
GVAR(weightCoefficient) * _weight * 0.5 // return
|
||||||
|
Loading…
Reference in New Issue
Block a user