From fdbcc62c74f1c51cf3ff36b784789a92fada4702 Mon Sep 17 00:00:00 2001 From: Grim <69561145+LinkIsGrim@users.noreply.github.com> Date: Fri, 11 Aug 2023 20:44:12 +0300 Subject: [PATCH] Repair - Make headlights repairable (#9306) --- addons/repair/functions/fnc_getHitPointsToIgnore.sqf | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/addons/repair/functions/fnc_getHitPointsToIgnore.sqf b/addons/repair/functions/fnc_getHitPointsToIgnore.sqf index df0082d873..457647dd8f 100644 --- a/addons/repair/functions/fnc_getHitPointsToIgnore.sqf +++ b/addons/repair/functions/fnc_getHitPointsToIgnore.sqf @@ -62,16 +62,6 @@ private _processedSelections = []; continue }; - if (_hitpoint select [0,1] isEqualTo "#" || {_hitpoint select [0,9] isEqualTo "hit_light"}) then { // skip lights - TRACE_3("Skipping light",_hitpoint,_forEachIndex,_selection); - /*#ifdef DEBUG_MODE_FULL - systemChat format ["Skipping light, hitpoint %1, index %2, selection %3", _hitpoint, _forEachIndex, _selection]; - #endif*/ - _hitPointsToIgnore pushBackUnique _hitpoint; - _processedSelections pushBack _selection; - continue - }; - if (_hitpoint select [0,7] isEqualTo "hitera_" || {_hitpoint select [0,8] isEqualTo "hitslat_"} || {_hitpoint select [0,4] isEqualTo "era_"}) then { // skip era/slat TRACE_3("Skipping ERA/Slat HitPoint",_hitpoint,_forEachIndex,_selection); /*#ifdef DEBUG_MODE_FULL