copying over porting over changes from cyclone.altis
2 files changed, 6 insertions(+), 2 deletions(-)

M ineptifex/fn_conditionalSelectIP.sqf
M ineptifex/fn_getFirepower.sqf
M ineptifex/fn_conditionalSelectIP.sqf +2 -1
@@ 7,7 7,7 @@ 
  *
  * Specification:
  *  Similar to BIS_fnc_conditionalSelect, but operates in-place, so that
- *  argument 0 is modified, no value is returned.
+ *  argument 0 is modified.
  */
 
 #define DEBUG_VAR "INEPT_fnc_conditionalSelectIP_is_verbose"

          
@@ 27,3 27,4 @@ for [
         _list deleteAt _forEachIndex;
     };
 };
+_list

          
M ineptifex/fn_getFirepower.sqf +4 -1
@@ 72,7 72,10 @@ VAR(_lethality_a) = [];
             // something, but in that case, we should skip over that weapon
             // before we ever get here by looking at its weapon type or some
             // shit like that
-            ["No magazines found for weapon %1 muzzle %2", _wep_cfg, _muzzle_cfg] call BIS_fnc_error;
+            if (not isNil "INEPT_param_complainAboutMaglessWeapons") then
+            {
+                ["No magazines found for weapon %1 muzzle %2", _wep_cfg, _muzzle_cfg] call BIS_fnc_error;
+            };
         };
 
         // Select the first mode we find where showToPlayer is true