From 295302d9cb49b8143ef83308ea30c5236dfdb915 Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Sat, 21 Jan 2017 22:00:30 -0500 Subject: [PATCH] Fix undefined error when dayz_bleedingeffect = 1; #1885 --- SQF/dayz_code/medical/setup_functions_med.sqf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SQF/dayz_code/medical/setup_functions_med.sqf b/SQF/dayz_code/medical/setup_functions_med.sqf index ac25c2770..febfbafd9 100644 --- a/SQF/dayz_code/medical/setup_functions_med.sqf +++ b/SQF/dayz_code/medical/setup_functions_med.sqf @@ -296,6 +296,8 @@ fnc_usec_damageBleed = { private["_wound","_modelPos","_point","_source"]; _unit = _this select 0; _wound = _this select 1; + _point = objNull; + _source = objNull; //_injury = _this select 2; // not used. damage% ??? if (isServer) exitWith{}; // no graphical effects on server!