From 751c7ff959143c8298a96763db4d676d7c460885 Mon Sep 17 00:00:00 2001 From: BaerMitUmlaut Date: Thu, 8 Dec 2016 21:30:53 +0100 Subject: [PATCH] Fixed default blood volume --- addons/medical_ui/functions/fnc_handleEffects.sqf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/medical_ui/functions/fnc_handleEffects.sqf b/addons/medical_ui/functions/fnc_handleEffects.sqf index f74952552e..a3a65620b4 100644 --- a/addons/medical_ui/functions/fnc_handleEffects.sqf +++ b/addons/medical_ui/functions/fnc_handleEffects.sqf @@ -20,12 +20,12 @@ if (_disableAll) exitWith { // - Current state info ------------------------------------------------------- private _bleedingStrength = [ACE_player] call EFUNC(medical,getBloodloss); private _bleeding = _bleedingStrength > 0; -private _bloodVolume = ACE_player getVariable [QEGVAR(medical,bloodVolume), 1]; +private _bloodVolume = ACE_player getVariable [QEGVAR(medical,bloodVolume), DEFAULT_BLOOD_VOLUME]; private _unconscious = ACE_player getVariable [QEGVAR(medical,isUnconscious), false]; private _heartRate = ACE_player getVariable [QEGVAR(medical,heartRate), 70]; private _pain = ACE_player getVariable [QEGVAR(medical,pain), 0]; // - Visual effects ----------------------------------------------------------- -[_unconscious, _unconscious && true ] call FUNC(effectUnconscious); -[true, _pain ] call FUNC(effectPain); -[true, (6 - _bloodVolume) max 0] call FUNC(effectBloodVolume); +[_unconscious, _unconscious] call FUNC(effectUnconscious); +[true, _pain] call FUNC(effectPain); +[true, (DEFAULT_BLOOD_VOLUME - _bloodVolume) max 0] call FUNC(effectBloodVolume);