Skip to content

Commit

Permalink
fix for hemtt
Browse files Browse the repository at this point in the history
  • Loading branch information
MiszczuZPolski committed Oct 17, 2023
1 parent 97ab5a5 commit 9899453
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion addons/circulation/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ class CfgVehicles {
showDisabled = 0;
icon = QPATHTOF(ui\icon_aedx_volume_off.paa);
};
class KAT_AED_X_addSound : AED_X_removeSound {
class KAT_AED_X_addSound : KAT_AED_X_removeSound {
displayName = CSTRING(AEDX_Action_EnableAudio);
condition = QUOTE(!(_player getVariable [ARR_2(QQGVAR(AED_X_VitalsMonitor_Volume), false])));
statement = QUOTE(_player setVariable [ARR_3(QQGVAR(AED_X_VitalsMonitor_Volume), true, true)]);
Expand Down
4 changes: 2 additions & 2 deletions addons/main/script_macros.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#define GETEGVAR(var1,var2,var3) GETMVAR(EGVAR(var1,var2),var3)

#define ARR_SELECT(ARRAY,INDEX,DEFAULT) (if (count ARRAY > INDEX) then {ARRAY select INDEX} else {DEFAULT})

#define ANY_OF(ARRAY,CONDITION) (ARRAY findIf {CONDITION} != -1)

#define MACRO_ADDWEAPON(WEAPON,COUNT) class _xx_##WEAPON { \
weapon = #WEAPON; \
Expand Down Expand Up @@ -245,4 +245,4 @@
#define GET_BLOODPRESSURE_CHANGE(unit) (unit getVariable [VAR_BLOODPRESSURE_CHANGE, [0,0]])

// Pharmacy
#define GET_BLOOD_LOSS(unit) ([unit] call EFUNC(pharma,getBloodLoss))
#define GET_BLOOD_LOSS(unit) ([unit] call EFUNC(pharma,getBloodLoss))
6 changes: 3 additions & 3 deletions addons/main/script_mod.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

#define VERSION MAJOR.MINOR
#define VERSION_STR MAJOR.MINOR.PATCH
#define VERSION_AR MAJOR,MINOR,PATCH
#define VERSION_AR MAJOR,MINOR,PATCHLVL,BUILD

#define VERSION_CONFIG version = MAJOR.MINOR; versionStr = QUOTE(MAJOR.MINOR.PATCH); versionAr[] = {MAJOR,MINOR,PATCH}

// MINIMAL required version for the Mod. Components can specify others..
#define REQUIRED_VERSION 1.88
#define REQUIRED_CBA_VERSION {3,8,0}
#define REQUIRED_VERSION 2.14
#define REQUIRED_CBA_VERSION {3,15,7}

#ifdef COMPONENT_BEAUTIFIED
#define COMPONENT_NAME QUOTE(KAT - COMPONENT_BEAUTIFIED)
Expand Down
2 changes: 1 addition & 1 deletion addons/misc/functions/fnc_treatmentSuccess.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if (!isNil "_endInAnim") then {
[QACEGVAR(common,setAnimSpeedCoef), [_medic, 1]] call CBA_fnc_globalEvent;

if (!isNil QACEGVAR(advanced_fatigue,setAnimExclusions)) then {
ACEGVAR(advanced_fatigue,setAnimExclusions) deleteAt (ACEGVAR(advanced_fatigue,setAnimExclusions) find QUOTE(ACE_ADDON));
ACEGVAR(advanced_fatigue,setAnimExclusions) deleteAt (ACEGVAR(advanced_fatigue,setAnimExclusions) find QUOTE(ACE_ADDON(medical_treatment)));
};

// Call treatment specific success callback
Expand Down
1 change: 1 addition & 0 deletions include/a3/ui_f/$PBOPREFIX$
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a3\ui_f
1 change: 1 addition & 0 deletions include/x/cba/addons/main/$PBOPREFIX$
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
x\cba\addons\main
1 change: 1 addition & 0 deletions include/x/cba/addons/xeh/$PBOPREFIX$
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
x\cba\addons\xeh

0 comments on commit 9899453

Please sign in to comment.