From d357395b4bcfcc25f7658fe02de9d414e780fac5 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Thu, 30 Nov 2017 10:29:35 -0600 Subject: [PATCH] Minor fixes for 1.78 RC (#5825) --- addons/aircraft/CfgWeapons.hpp | 5 ----- .../functions/fnc_handleVirtualMass.sqf | 1 + addons/vehicles/CfgAmmo.hpp | 20 +------------------ 3 files changed, 2 insertions(+), 24 deletions(-) diff --git a/addons/aircraft/CfgWeapons.hpp b/addons/aircraft/CfgWeapons.hpp index 2d16223e1d..5543925b5b 100644 --- a/addons/aircraft/CfgWeapons.hpp +++ b/addons/aircraft/CfgWeapons.hpp @@ -105,10 +105,5 @@ class CfgWeapons { dispersion = 0.0064; //0.0023; multiplier = 1; }; - - class close: HighROF {}; - class short: close {}; - class medium: LowROF {}; - class far: medium {}; }; }; diff --git a/addons/movement/functions/fnc_handleVirtualMass.sqf b/addons/movement/functions/fnc_handleVirtualMass.sqf index 814a0eeecb..8ec388e8ba 100644 --- a/addons/movement/functions/fnc_handleVirtualMass.sqf +++ b/addons/movement/functions/fnc_handleVirtualMass.sqf @@ -40,6 +40,7 @@ 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 in ARMA 1.78 RC]"); _loadCoef = _unit getUnitTrait "loadCoef"; _unit setVariable [QGVAR(loadCoef), _loadCoef, true]; }; diff --git a/addons/vehicles/CfgAmmo.hpp b/addons/vehicles/CfgAmmo.hpp index 96dd290625..8706a56570 100644 --- a/addons/vehicles/CfgAmmo.hpp +++ b/addons/vehicles/CfgAmmo.hpp @@ -1,25 +1,7 @@ class CfgAmmo { - - class Missile_AGM_02_F; - class M_Mo_120mm_AT: Missile_AGM_02_F { - cost = 400000; // Stop it from aiming at FUCKING RABBITS. - weaponLockSystem = 2; - }; - - class M_Mo_120mm_AT_LG: M_Mo_120mm_AT { - cost = 400000; - weaponLockSystem = 4; - }; - class MissileBase; class M_Mo_82mm_AT: MissileBase { - cost = 400000; - weaponLockSystem = 2; - }; - - class M_Mo_82mm_AT_LG: M_Mo_82mm_AT { - cost = 400000; - weaponLockSystem = 4; + cost = 400000; // Stop it from aiming at FUCKING RABBITS. }; };