Skip to content

Commit

Permalink
Fix Apap treatment icon and litter (#9)
Browse files Browse the repository at this point in the history
* Add missing litter texture file

* Add logo to mod.cpp

* Add Apap icon to treatment

* Fix logo path
  • Loading branch information
3Mydlo3 authored Feb 26, 2020
1 parent 3e2e72e commit 6043c49
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 1 deletion.
Binary file added addons/main/data/logo_ca.paa
Binary file not shown.
1 change: 1 addition & 0 deletions addons/medical_treatment/ACE_Medical_Treatment_Actions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class ACEGVAR(medical_treatment,actions) {
allowSelfTreatment = 1;
displayName = CSTRING(Eat_Apap);
displayNameProgress = CSTRING(Eating_Apap);
icon = QPATHTOF(ui\icons\apap.paa);
items[] = {"AFMED_apap"};
condition = "(_this select 1) isEqualTo player";
litter[] = { {"All", "", {"AFMED_MedicalLitter_apap"}} };
Expand Down
2 changes: 1 addition & 1 deletion addons/medical_treatment/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class CfgVehicles {
// Apap litter
class Leaflet_05_F;
class AFMED_MedicalLitter_apap: Leaflet_05_F {
hiddenSelectionsTextures[] = {"\armaforces\medical\data\apap_litter.paa"};
hiddenSelectionsTextures[] = {QPATHTOF(data\apap_litter.paa)};
};

// Apap item
Expand Down
Binary file added addons/medical_treatment/data/apap_litter.paa
Binary file not shown.
1 change: 1 addition & 0 deletions mod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ action = "https://armaforces.com/";
actionName = "Website";
tooltip = "ArmaForces Medical";
description = "ArmaForces Medical developed by 3Mydlo3.";
logo = "\z\afmed\addons\main\data\logo_ca.paa";

0 comments on commit 6043c49

Please sign in to comment.