diff --git a/addons/medical/functions/fnc_addPain.sqf b/addons/medical/functions/fnc_addPain.sqf index e7582bb204..3becb97a98 100644 --- a/addons/medical/functions/fnc_addPain.sqf +++ b/addons/medical/functions/fnc_addPain.sqf @@ -24,5 +24,3 @@ private _pain = _unit getVariable [QEGVAR(medical,pain), 0]; _pain = _pain + _painToAdd * (1 - _pain); _unit setVariable [QEGVAR(medical,pain), _pain]; - -[_unit, "hit", PAIN_TO_SCREAM(_painToAdd)] call EFUNC(medical_engine,playInjuredSound); diff --git a/addons/medical_damage/functions/fnc_woundsHandler.sqf b/addons/medical_damage/functions/fnc_woundsHandler.sqf index af99f50b13..6fa35b1dcc 100644 --- a/addons/medical_damage/functions/fnc_woundsHandler.sqf +++ b/addons/medical_damage/functions/fnc_woundsHandler.sqf @@ -67,5 +67,6 @@ if (count _woundsCreated > 0) then { }; [_unit, _painToAdd] call EFUNC(medical,addPain); +[_unit, "hit", PAIN_TO_SCREAM(_painToAdd)] call EFUNC(medical_engine,playInjuredSound); TRACE_5("exit",_unit, _painToAdd, _unit getVariable QEGVAR(medical,pain), _unit getVariable QEGVAR(medical,openWounds),_woundsCreated); diff --git a/addons/medical_damage/functions/fnc_woundsHandlerSQF.sqf b/addons/medical_damage/functions/fnc_woundsHandlerSQF.sqf index ea7087d5ed..f8c94dbef4 100644 --- a/addons/medical_damage/functions/fnc_woundsHandlerSQF.sqf +++ b/addons/medical_damage/functions/fnc_woundsHandlerSQF.sqf @@ -136,5 +136,6 @@ if (count _woundsCreated > 0) then { }; [_unit, _painToAdd] call EFUNC(medical,addPain); +[_unit, "hit", PAIN_TO_SCREAM(_painToAdd)] call EFUNC(medical_engine,playInjuredSound); TRACE_5("exit",_unit, _painToAdd, _unit getVariable QEGVAR(medical,pain), _unit getVariable QEGVAR(medical,openWounds),_woundsCreated);