From e4b1265a84b64294f508a7d8ae6d47cc7ac5efc2 Mon Sep 17 00:00:00 2001 From: Thomas Kooi Date: Mon, 19 Jan 2015 00:58:36 +0100 Subject: [PATCH] Fixed incorrect parameter passing in treatment actions --- addons/medical/XEH_postInit.sqf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/addons/medical/XEH_postInit.sqf b/addons/medical/XEH_postInit.sqf index 967b56fda0..5d347b790f 100644 --- a/addons/medical/XEH_postInit.sqf +++ b/addons/medical/XEH_postInit.sqf @@ -186,15 +186,15 @@ ADD_TREATMENT_MEDICATION("STR_ACE_ACTION_EPINEPHRINE","STR_ACE_ACTION_EPINEPHRIN // Examine ["STR_ACE_ACTION_CHECK_PULSE","STR_ACE_ACTION_CHECK_PULSE_TOOLTIP",{ true; -},{[_this select 1,_this select 0] call FUNC(actionCheckPulse)},'examine'] call FUNC(addTreatmentOption); +},{[_this select 0,_this select 1] call FUNC(actionCheckPulse)},'examine'] call FUNC(addTreatmentOption); ["STR_ACE_ACTION_CHECK_BP","STR_ACE_ACTION_CHECK_BP_TOOLTIP",{ true; -},{[_this select 1,_this select 0] call FUNC(actionCheckBloodPressure);},'examine'] call FUNC(addTreatmentOption); +},{[_this select 0,_this select 1] call FUNC(actionCheckBloodPressure);},'examine'] call FUNC(addTreatmentOption); ["STR_ACE_ACTION_CHECK_RESPONSE","STR_ACE_ACTION_CHECK_RESPONSE_TOOLTIP",{ true; -},{[_this select 1,_this select 0] call FUNC(actionCheckResponse)},'examine'] call FUNC(addTreatmentOption); +},{[_this select 0,_this select 1] call FUNC(actionCheckResponse)},'examine'] call FUNC(addTreatmentOption); // Drag/Movement @@ -231,14 +231,14 @@ ADD_TREATMENT_MEDICATION("STR_ACE_ACTION_EPINEPHRINE","STR_ACE_ACTION_EPINEPHRIN _target = _this select 1; ((vehicle _target == _target)); -}, {[_this select 1,_this select 0] call FUNC(actionLoadUnit)},'drag'] call FUNC(addTreatmentOption); +}, {[_this select 0,_this select 1] call FUNC(actionLoadUnit)},'drag'] call FUNC(addTreatmentOption); ["STR_ACE_ACTION_UNLOAD_PATIENT","STR_ACE_ACTION_UNLOAD_PATIENT_TOOLTIP",{ _caller = _this select 0; _target = _this select 1; ((vehicle _target != _target)); -}, {[_this select 1,_this select 0] call FUNC(actionUnloadUnit)},'drag'] call FUNC(addTreatmentOption); +}, {[_this select 0,_this select 1] call FUNC(actionUnloadUnit)},'drag'] call FUNC(addTreatmentOption); systemchat format["finished postInit"]; diag_log format["finished postInit"];