mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
General - Cleanup remaining HEMTT warnings/suggestions (#9786)
* General - Cleanup remaining HEMTT warnings/suggestions * Update addons/medical_engine/script_macros_medical.hpp
This commit is contained in:
parent
6928adfc72
commit
e75ef3de06
@ -95,7 +95,7 @@ if (_state) then {
|
||||
// Check if the necessary keys were pressed for a keybind
|
||||
_return = _comboDikPressed &&
|
||||
{_mainDevice == "KEYBOARD"} &&
|
||||
{((GVAR(keyboardInputMain) getOrDefault [_mainDik, [false, 0]]) select 1) > ([0, 1] select _isDoubleTap)}; // check how many times the main key was pressed
|
||||
{((GVAR(keyboardInputMain) getOrDefault [_mainDik, [false, 0]]) select 1) > (parseNumber _isDoubleTap)}; // check how many times the main key was pressed
|
||||
|
||||
// Keybind was detected
|
||||
if (_return) exitWith {
|
||||
|
@ -53,7 +53,8 @@
|
||||
#define BLOOD_VOLUME_CLASS_2_HEMORRHAGE 5.100 // lost more than 15% blood, Class II Hemorrhage
|
||||
#define BLOOD_VOLUME_CLASS_3_HEMORRHAGE 4.200 // lost more than 30% blood, Class III Hemorrhage
|
||||
#define BLOOD_VOLUME_CLASS_4_HEMORRHAGE 3.600 // lost more than 40% blood, Class IV Hemorrhage
|
||||
#define BLOOD_VOLUME_FATAL 3.0 // Lost more than 50% blood, Unrecoverable
|
||||
// Lost more than 50% blood, Unrecoverable
|
||||
#define BLOOD_VOLUME_FATAL 3.0
|
||||
|
||||
// Minimum blood volume, in liters, for a patient to have the chance to wake up
|
||||
#define MINIMUM_BLOOD_FOR_STABLE_VITALS EGVAR(medical,const_stableVitalsBloodThreshold)
|
||||
|
@ -29,6 +29,7 @@
|
||||
#define TO_COMPARTMENT_STRING(var) if !(var isEqualType "") then {var = format [ARR_2("Compartment%1",var)]}
|
||||
|
||||
// if unit isn't moved to new seat in TAKEN_SEAT_TIMEOUT, we move him back to his seat
|
||||
#pragma hemtt suppress pw3_padded_arg file
|
||||
#define WAIT_IN_OR_MOVE_BACK \
|
||||
[ARR_5( \
|
||||
{!isNull objectParent (_this select 0)}, \
|
||||
|
Loading…
Reference in New Issue
Block a user