From 295302d9cb49b8143ef83308ea30c5236dfdb915 Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Sat, 21 Jan 2017 22:00:30 -0500 Subject: [PATCH 1/2] 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! From 94f342e7b6d256f809aa93e56c82e95448281537 Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Sat, 21 Jan 2017 22:36:37 -0500 Subject: [PATCH 2/2] Fix typo from 26c1bd9 --- SQF/dayz_code/system/scheduler/sched_towngenerator.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/system/scheduler/sched_towngenerator.sqf b/SQF/dayz_code/system/scheduler/sched_towngenerator.sqf index d0806aa59..b9410d020 100644 --- a/SQF/dayz_code/system/scheduler/sched_towngenerator.sqf +++ b/SQF/dayz_code/system/scheduler/sched_towngenerator.sqf @@ -162,7 +162,7 @@ sched_townGenerator = { _position = _x select 2; _blocked = false; { - if (_position distance _x < 150 && {_x select 1 != "waterHoleProxy"}) exitWith { + if (_position distance _x < 150) exitWith { _blocked = true; }; } forEach dayz_townGeneratorBlackList;