This commit is contained in:
VKing 2016-01-19 21:16:41 +01:00
parent ae576e57e3
commit 968f7c000b

View File

@ -137,13 +137,12 @@ private _FCSElevation = [];
} count _muzzles;
// Fix the `in` operator being case sensitive and BI fucking up the spelling of their own classnames
private _magazineCheck = toLower _magazine;
private _weaponMagazinesCheck = [];
{
_weaponMagazinesCheck pushBack (toLower _x);
} forEach _weaponMagazines;
if (_magazineCheck in _weaponMagazinesCheck) exitWith {
if (toLower _magazine in _weaponMagazinesCheck) exitWith {
_initSpeedCoef = getNumber(configFile >> "CfgWeapons" >> _weapon >> "initSpeed");
if (_initSpeedCoef < 0) then {